Var

When to use “var” as a Type?

It has been quite a long time since var was introduced, yet it stands debatable among .Net developers. Everyone has a different understanding as and when to use var as a type. A couple of days ago I was also a part of one such discussion, and so I decided to share my understanding. Readability Every developer has all the right to use var as and when they like, it’s just a matter of one’s choice.

Continue reading