© 2026 Hedgehog Software, LLC
Bar
IFoo
IFoo f = GetFoo(); f.Bar(); // ??? static IFoo GetFoo() => new Foo(); interface IFoo { static abstract void Bar(); } class Foo : IFoo { public static void Bar() => Console.WriteLine("bar"); }