Skip to content

Quick Dev Notes Posts

When to use “var” as a Type

Introduction 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. CodeProject   Readability Every developer has all the right to use var as and…