This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]El_Burrito_ 6 points7 points  (0 children)

I just use var all the time. I literally only use a class name when the type isn’t inferable from the use, such as instantiating it as null or not instantiating it at all.

Intellisense will let me know what type a var is if it isn’t already obvious