first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

.NET 2.x: Something Obvious about Nullables

[TestMethod] public void TinyTest() { var i = new Int32?(); i = null; Assert.IsFalse(i.HasValue); } /* This test will pass because i.HasValue will not throw a null reference exception; a “nullable” has the ability to be null and not throw such exceptions. */

mod date: 2010-02-20T03:50:33.000Z