What is the 'var' keyword in C#?
- Implicit type declaration
- Virtual method
- Variant type
- 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.