What is the difference between directcast and ctype?

Answer Posted / debjit mondal(9960119198)

Direct Cast is used for Casting type as well as ref. Ctype
is used only for Type Casting,That is why it is faster.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use parameters in c#?

588


Does c# support parameterized properties?

598


What are the value types in c#?

605


Is it possible to execute multiple catch block for a single try statement?

679


What is gridview c#?

571






If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?

656


What is static void main in c#?

581


What does string format do?

561


What is mvc firstordefault?

559


What is yield keyword?

579


What is the difference between field and variable in c#?

557


What is addressof operator?

614


What is the difference between private and protected in c#?

574


What are regular expressions? Search a string using regular expressions?

597


Explain use of abstract and sealed classes in c#?

537