Jun 25, 2019 in Dot Net
Q:

What is the difference between directcast and ctype?

1 Answer

0 votes
Jun 25, 2019

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.

Related questions

+2 votes
Jun 25, 2019 in Dot Net
+1 vote
Jun 25, 2019 in Dot Net
...