Community

C# 8 Interfaces: Static Main — Why Not?

(Jeremy Bytes) When taking a closer look at C# 8 interfaces, we come across static members. Last time we looked at using static fields and methods in an interface. But things get stranger. An interface can have a “static Main” method, which means that this is a valid application:




Facebooktwitterredditpinterestlinkedinmail