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

What does the keyword virtual mean in the method definition?

3 Answers   Ipog Software, Satyam, Visual Soft,


In C#, explain the difference between overloading and overriding.

0 Answers   Accenture,


Explain the difference between class and interface in .net?

0 Answers  


Why is it a bad idea to throw your own exceptions?

4 Answers  


What is callback delegate in c#?

0 Answers  






What is exe file in c#?

0 Answers  


What is use of console?

0 Answers  


What is AutoMapper in C#?

0 Answers   Infosys,


I want to print "Hello" even before main() is executed. How will you achieve that?

0 Answers   DELL,


What .exe means?

0 Answers  


Explain polymorphism in c# with a simple example?

0 Answers  


Why main is static in c#?

0 Answers  


Categories