C# Using Var: To Var or Not To Var?
Briefly

Using var seems to be the rage today for reducing redundancy. Mostly, var is pretty benign or helpful, but perhaps it shouldn't be used all the time, as there are possible problems that it could cause, even adding confusion or code misunderstandings in some cases, making code harder to read, or causing bugs.
I think it is safer to only use var when the types are obvious (or a few other scenarios that make sense). Microsoft's guidelines for var: ('C# Coding Conventions'-Microsoft Learn, n.d.) Use var when it's easy to tell the type of the variable being assigned.
Read at CodeProject
[
add
]
[
|
|
]