ScanIAm wrote:

Exactly, and I'm fine with that, now, but it doesn't 'feel' right.  That's my own cross to bear Smiley

string s = "bob";
if(s!=null)
   Console.WriteLine(bob.Length);

just seems safer.




Sorry, that's just not making sense; maybe you need to come up with a better example, but I can't see it.  s can never be null here ... even if it was you'd sure as hell WANT an exception to be thrown, because it's exceptional ... you don't want to hide this kind of exception.