Give An example of a ctype and directcast.

Answer Posted / narayan sahu(netx)

textbox = CType(obj, TextBox)
textbox = DirectCast(obj, TextBox)

Is This Answer Correct ?    15 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are asp.net authentication providers and iis security?

768


What makes .net core cross platform?

741


Explain me what is .net web service?

788


How to implement datagrid in.net? How would you make a combo-box appear in one column of a datagrid? What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for datagrid methods. What is the access specifier used for that methods in the code behind file and why?

794


Tell us what do the following acronyms in .net stand for: il, cil, msil, cli and jit?

736


Differences between dll and exe?

859


Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?

722


What do the terms “boxing” and “unboxing” mean?

752


Conceptually, what is the difference between early-binding and late-binding?

829


What is close method? How its different from finalize and dispose?

778


What is the difference between constants and read-only variables?

783


What is the need of OLE-automation?

870


Do you know what is linq?

835


What is RPC? What is the use of it?

826


What is manifest in .net?

862