Click here to Skip to main content
15,011,455 members
post an article ask a question Search our articles

Filter articles, news and messages

Just Published

Python

Artificial Intelligence

IoT

Right Now
32,072
Active user sessions
Content Views per minute
Straw Poll
Rate these 5 C# language improvements
For the C# devs. The language grows, so rate some of these additions from 1 = completely useless to 5 = Best thing since sliced bread.
 12345
Implicit new: MyClass x = new()
Syntax patterns c is >= 'a' and <= 'z'
Switch: myVar switch { "value" => value, ... _ }
Null-coalescing assign: myList ??= new List<int>();
Indices and range: mystring[1..^4]
  Results   396 votes