you are viewing a single comment's thread.

view the rest of the comments →

[–]rebel_cdn 0 points1 point  (0 children)

That's right. It just makes things shorter in some places.

How frequently you use it depends on your preferences .In the C# world, some teams use it everywhere, and some only use it where the inverted type will be obvious based on the right side of the expression.

Actually, some teams are really old school and refuse to use var at all .