• Saves Valuable Time
  • Trusted Accuracy for 12 Years
  • 15-Day Money-Back Guarantee

C# Equivalent to the VB TypeOf and GetType Operators

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


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

Additional resource: VB.NET and C# Equivalents


Copyright © 1997 – 2017 Tangible Software Solutions Inc.