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

C# Equivalent to the Java 'instanceof' and 'class' Operators

Java C#
boolean b = f instanceof Foo;
Class t = w.class;
bool b = f is Foo;
Type t = typeof(w);

Use Java to C# Converter to convert from Java to C#.     

Additional resource: Java and C# Equivalents

Copyright © 2004 – 2021 Tangible Software Solutions, Inc.