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