Struct with “main method” as an entry point
tabsoverspaces.com
tabsoverspaces.com
Why can't people state what language they are talking about in this kind of articles?
Could it be more prominent? Yes. But it's not like the author didn't attempt to communicate the language context, and in that I argue, this blog is still doing better than many other.
(This was an earlier version of Python.)
TFA concerns wild variations on the ingredients.
Somebody had to be the first one to put pineapple on pizza, and to put main() on a struct.
So everything is ultimately related.
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.