✅ Anonymous type
So while is was reading about LINQ I stumbled upon an example that only works with
They showed the following:
var due to being an anonymous function.They showed the following:

varnew { ... } yield here, an anonymous type but what is it deducted toovar would work as there is no explicit type one could write there that'd match it{get; init;})

object instead of using var. If you paste the code, hovering the query variable will reveal the declared type inside IEnumerable<>. var is just a shorthand that gets replaced with the declared type of the value you give it, nullable if it's a reference type./close new { ... }{get; init;}IEnumerable<>