is Operator

The is operator checks if the run-time type of an expression result is compatible with a given type.
The is operator doesn't consider user-defined conversions.


Beginning with C# 7.0, the is operator also tests an expression result against a pattern.



VB.Net Equivalent

The equivalent operator in VB.Net is the Is Operator


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