Implicit typing; why just local variables?

Eric Lippert did an entire blog post on the subject. https://docs.microsoft.com/en-us/archive/blogs/ericlippert/why-no-var-on-fields In summary, the main problem is that it would have required a major re-architecture of the C# compiler to do so. Declarations are currently processed in a single pass manner. This would require multiple passes because of the ability to form cycles between inferred … Read more