What is the 'var' keyword in C#?

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

Explanation

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