What is the 'var' keyword in C#?

  1. Implicit type declaration
  2. Virtual method
  3. Variant type
  4. Variable declaration

Explanation

The 'var' keyword enables implicit typing, where the compiler determines the type based on the assigned value.