ben lewis

ben lewis

  • NA
  • 3
  • 429

USING “VAR” NEEDLESSLY WHEN YOU KNOW THE DATA TYPE

May 30 2018 6:59 AM
With the introduction of MVC-style (model-view-controller) many developers turned to LINQ to retrieve a collection of values. In many instances, you don’t always know the result, and “var” helps you to avoid errors from your code if a null or a data type that you weren’t expecting is returned.<a href="https://lenovosupport.net">lenovo support</a>

Answers (1)