InterviewSolution
STRING str = null; Console.WriteLine(str.Length); The above code will compile, but at RUNTIME System.NullReferenceException will be THROWN
string str = null; Console.WriteLine(str.Length); The above code will compile, but at runtime System.NullReferenceException will be thrown
Your experience on this site will be improved by allowing cookies. Read Cookie Policy