2
Reply

Can I assign Null value on VAR?

Ritesh Singh

Ritesh Singh

Aug 03, 2016
345
0

    No

    Ritesh Singh
    August 03, 2016
    1

    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.

    Navdeep Singh
    March 30, 2017
    0