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