• Saves Valuable Time
  • Trusted Accuracy for 15 Years
  • 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 © 1997 – 2019 Tangible Software Solutions, Inc.