LANGUAGE

new member modifier

Explicitly hides an inherited member instead of overriding its virtual slot.

Formal Syntax & Structure

csharp syntaxcsharp
public new string Label() => "Derived";

Working Example

Example Snippetcsharp
public new string Label() => "Express";
C# & .NET Reference