Wednesday 23 December 2015

What is the difference between directcast and ctype?

DirectCast is used to convert the type of an 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.

No comments:

Post a Comment