SyntaxFix
Write A Post
Hire A Developer
Questions
In this case it is just coding style.
Use of var is only necessary when dealing with anonymous types. In other situations it's a matter of taste.
var