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

Which is faster iqueryable or ienumerable?

0 Answers  


i have a table named login in mysql database containing (empid,fname,lname,mobno,emailid,usrname,usrpwd) i have 2 textboxes in which i enter my username and pwd..so based on what is entered in those textboxes it should retreive all other details of dat username in the remaining 6 textboxes..i want the code for this...

1 Answers   Royal Enfield,


What is encapsulation in csharp?

0 Answers  


In which format you can pass the value in the sleep function?

0 Answers  


Is c and c# the same?

0 Answers  






why sturcture ? why class?why you prefer structure and in which cases u go for class?

1 Answers   Microsoft,


Can a sealed class be used as a base class?

0 Answers  


Why is c# better than java?

0 Answers  


Are c# constructors the same as c++ constructors?

0 Answers  


What is cache memory in c#?

0 Answers  


Can multiple catch blocks be executed?

4 Answers   Visual Soft,


Why main method is static in c#?

0 Answers  


Categories