I love C#, it is my favourite language. I actually do like the coding conventions in C#, editing code in Visual Studio is great and .NET Core is fast!
If I had to be picky about what I don't like with it, it is probably the query syntax for LINQ.
For example, I don't like this (query syntax):
var numQuery = from num in numbers where (num % 2) == 0 select num;
I prefer this (method syntax):
var numQuery = numbers.Where(num => num % 2 == 0);
I love method syntax better.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
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.
I love C#, it is my favourite language. I actually do like the coding conventions in C#, editing code in Visual Studio is great and .NET Core is fast!
If I had to be picky about what I don't like with it, it is probably the query syntax for LINQ.
For example, I don't like this (query syntax):
I prefer this (method syntax):
I love method syntax better.