Interviews4 answers
How to assign Null value to Var?
4 Answers
cannot assign null to implicitly typed variable
Madan ShekarPosted Jan 16, 2019, 7:44 PM EST
C# compiler does not allow assignment of null value with var .
pankaj raiPosted May 19, 2017, 7:17 PM EDT
why someone would want to assign null to var?
Nilesh ShahPosted May 15, 2017, 12:18 PM EDT
var str = (string)null;
str = "Hello";
Rahul ChavanPosted Apr 19, 2016, 5:56 AM EDT


