What is the 'var' keyword in C#?
- Virtual method
- Variant type
- Implicit type declaration
- Variable declaration
Explanation
The 'var' keyword enables implicit typing, where the compiler determines the type based on the assigned value.
Explanation
The 'var' keyword enables implicit typing, where the compiler determines the type based on the assigned value.