2
Reply

Can I assign Null value on VAR?

Ritesh Singh

Ritesh Singh

8y
361
0
Reply

    No

    C# is a strictly/strongly typed language. var was introduced for compile-time type-binding for anonymous types yet you can use var for primitive and custom types that are already known at design time.