I find it extremely annoying that many basic methods are static, especially around commonly used materials such as strings and arrays.
Why:
Array.Sort(myArray); String.IsNullOrEmpty(myString);
instead:
myArray.Sort(); myString.IsNullOrEmpty
Not to say that there is no good reason for this, and this is not very important, but if JS can do this, why can C # not? *
A switch implementation is also implemented. I really think they should have trusted us with failure.
* Come to the point that I also skipped JS closure syntax.
annakata
source share