3 ms·
C# still has a lot to learn from Java. Just today I found myself annoyed that C# doesn’t have diamond operator for inferred right hand generics.
by LadyCailin 4y ago
C# still has a lot to learn from Java. Just today I found myself annoyed that C# doesn’t have diamond operator for inferred right hand generics.
- int_19h 4y agoI might be missing something, but C# lets you omit the classname in "new" entirely if the target type of the expression is known - isn't that even shorter?