interface IExampleInterface {
int GetAlpha();
int GetBravo() => 456;
}
class ExampleClass : IExampleInterface {
public int GetAlpha() => 123;
}
class Program {
static void Main() {
IExampleInterface e = new ExampleClass();
Console.WriteLine(e.GetAlpha()); // Prints '123'
Console.WriteLine(e.GetBravo()); // Prints '456'
}
}