Rahul Chavan
How to assign Null value to Var?
By Rahul Chavan in .NET on Apr 19 2016
  • Rahul Chavan
    Apr, 2016 19

    var str = (string)null; str = "Hello";

    • 2
  • pankaj rai
    May, 2017 19

    C# compiler does not allow assignment of null value with var .

    • 1
  • Nilesh Shah
    May, 2017 15

    why someone would want to assign null to var?

    • 1
  • Madan Shekar
    Jan, 2019 17

    cannot assign null to implicitly typed variable

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS