Wednesday, October 3, 2012

VB.NET equivalent of typeof() operator

Instead of C#'s typeof() operator, VB.NET uses GetType operator. Please note that there is TypeOf() operator in VB.NET, but it is used in conjunction with Is keyword to check at runtime for checking if object is of particular type.

For more information, you could check Joacim's blog

No comments:

Post a Comment