In C# 9 Target Typed New Expressions were introduced.
They allow us to infer type on the right, whereas var allows us to infer type on left. The simple example below shows how we can omit the type when using ‘new()’ so the code becomes a little cleaner.
Click on the image for a larger view in a new window.
![](https://csharp.academy/wp-content/uploads/2024/06/Use-Target-Typed-New-Expressions-to-infer-type-on-the.png)
Personally I prefer to use TTNE over var as we (mostly) read from left to right so I can see the type sooner.
Have you used Target typed new expressions yet?