What is the difference between directcast and ctype?
Answers were Sorted based on User's Feedback
Answer / 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 |
can we create an empty interface with no definitions? If so, how it should be called in the class?
Why can’t struct be used instead of class for storing entity?
Why do we need indexers in c#?
what are the files we need to deploay a project in the system?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
Contrast between an interface and abstract class?
What is ioc containers c#?
In a site to turn off cookies for one page which method is followed?
If you define a user defined data type by using the class keyword, is it a value type or reference type?
How can you clean up objects holding resources from within the code?
Is visual c# free?
Why is hashset faster?