Question: implicitly-typed local variables must be initialized in mvc?
Answer: C# 3.0 introduced var keyword to declare method level variables without specifying a data type explicitly. ... Implicitly-typed variables must be initialized at the time of declaration; otherwise C# compiler would give an error: Implicitly-typed variables must be initialized.