I'm using vim + omnisharp/syntastic for some unity3d development in C#.
When I declare a variable using the actual type, for instance
string[] myArray = new string[5];
I get a warning message telling me to use the 'var' keyword instead.
Is there any reason for that (i.e. performance, established code style, etc) ? Are there any pros/cons ?