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 is Code group in .Net with respect to CAS

1569


What are the different types of remote object creation mode in .net?

573


What is dot net and its uses?

544


What is meant by globalization and localization?

579


What is a formatter in .net?

572






Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?

516


What's the problem with .net generics?

556


When should I use .net core?

549


What is deferred execution vs. Immediate execution in linq?

567


How ccw (com callable wrapper) and rcw (runtime callable wrappers) works?

566


What are the advantages of .net core?

530


What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?

511


Explain about .Net products?

609


Please explain what are an object and a class?

525


Which dll is required to translate xml to sql in internet information server (iis)?

533