c#

Page 1 out of 3

Why is it a best practice to use var in c#?

Curiosities of the C# programming language...
The var keyword might appear a little bit deceiving sometimes, specially when involving Linq in the equation. Some developers (particularly novice ones) can't seem to draw the line between two things that are separate concepts. So, what is the best practice when using var in C#? Read more