2 ms·
C# 9.0: https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9#fit-and-finish-features https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/cs.
by vips7L 4y ago
C# 9.0: https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9#fit-and-finish-features https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/cs...
I'm honestly surprised they haven't add the ability to drop the `new` keyword like Kotlin:
val a = A();
- schemescape 4y agoThanks! For anyone else who’s curious, these seem to be called “Target-typed new expressions”.