I was watching a youtube video on how to write cleaner code. The creator showed an example where instead of writing: SqlCommand command = new SqlCommand(query, connection);
it is much cleaner to write: var command = new SqlCommand(query, connection);
Now I'm curious: is there any performance differences with using var? Is this a good way to write clean code (should I start using var?)