2 ms·
This is not interesting in the least. The author "discovered" that the static Main method in C# can live in either a class or a struct. However, this distincti
by nathanaldensr 7y ago
This is not interesting in the least.
The author "discovered" that the static Main method in C# can live in either a class or a struct. However, this distinction does not matter as its simply a static member; the enclosing type is not instantiated by the runtime. In fact, the class that declares Main is idiomatically declared static since in general you don't need to create instances of it.
The author should find a more interesting topic before advertising his blog on HN.