Sure in C# functions only live within a class. In Javascript both a class or function are top level.
Sure there are tricks to make the C# function appear to be first class with the "using" statement but they are still required to be defined inside of a class. Why MSFT doesn't fix this is dumb.
Java is the same thing.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sure in C# functions only live within a class. In Javascript both a class or function are top level.
Sure there are tricks to make the C# function appear to be first class with the "using" statement but they are still required to be defined inside of a class. Why MSFT doesn't fix this is dumb.
Java is the same thing.