Using 'var' instead of explicitly stating the type - C#