It’s really just a coding style. The compiler generates the exact same for both variants.
See also here for the performance question:
- Will using ‘var’ affect performance?
It’s really just a coding style. The compiler generates the exact same for both variants.
See also here for the performance question: