• Saves Valuable Time
  • Trusted Accuracy since 2004
  • 15-Day Money-Back Guarantee

VB Equivalent to the C# 'is' and 'typeof' Operators

bool b = f is Foo;
Type t = typeof(w);
Dim b As Boolean = TypeOf f Is Foo
Dim t As Type = GetType(w)

Use Instant VB to convert from C# to VB.NET.     

Additional resource: VB.NET and C# Equivalents

Copyright © 2004 – 2021 Tangible Software Solutions, Inc.