Q:

What is the difference between directcast and ctype?

0

What is the difference between directcast and ctype?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

DirectCast is used to convert the type of object that requires the run-time type to be the same as the specified type in DirectCast.

Ctype is used for conversion where the conversion is defined between the expression and the type.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C# Interview Questions and Answers,You Need To Know

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How to implement a singleton design pattern in C#?... >>
<< Give an example of removing an element from the qu...