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

C# Equivalent to Java Inheritance

Basic Inheritance

Java C#
class Foo extends SomeBase
{
}
class Foo : SomeBase
{
}

Inheritance Keywords

Java C#
abstract    (class)
abstract    (method)
@Override (annotation)
final    (class)
final    (method)
no Java equivalent
abstract    (class)
abstract    (method)
override
sealed    (class)
sealed    (method)
new (shadowing)


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

Additional resource: Java and C# Equivalents


Copyright © 1997 – 2017 Tangible Software Solutions Inc.