| Difference between CType and Directcast in csharp
Below is the difference between cType and Directcast in c#
(1)CType is used for manily conversion between type and expression.
(2)On the other hand Directcast is used for converting the object type which requires run time type to be the same as specified type. | | |