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

C# Equivalent to the VB TypeOf and GetType Operators

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 © 2004 – 2021 Tangible Software Solutions, Inc.