What is the difference between directcast and ctype?

Answers were Sorted based on User's Feedback



What is the difference between directcast and ctype?..

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

What is the difference between directcast and ctype?..

Answer / swapna

Directcast means implicit casting. ctype comes under
Explicit conversion of integers to strings or strings to
integers.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

can we create an empty interface with no definitions? If so, how it should be called in the class?

3 Answers   IBM,


Why can’t struct be used instead of class for storing entity?

0 Answers  


Why do we need indexers in c#?

0 Answers  


what are the files we need to deploay a project in the system?

2 Answers  


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

0 Answers   Satyam,






Contrast between an interface and abstract class?

0 Answers   Siebel,


What is ioc containers c#?

0 Answers  


In a site to turn off cookies for one page which method is followed?

0 Answers   Siebel,


If you define a user defined data type by using the class keyword, is it a value type or reference type?

0 Answers  


How can you clean up objects holding resources from within the code?

4 Answers   Wipro,


Is visual c# free?

0 Answers  


Why is hashset faster?

0 Answers  


Categories