VB.Net - TypeOf

The VB TypeOf operator is used for checking if an object is of a particular type.
This operator is used with the Is Operator.

result = TypeOf x Is Integer 


C# Equivalent

There is a typeof Operator in C# but it has a different meaning - which is extremely confusing.


© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrevNext