[TestMethod]
public void NullYourMom()
{
var x = (int?)Activator.CreateInstance(typeof(int?)) ;
Assert.IsFalse(x.HasValue);
try { x.GetType(); }
catch (NullReferenceException) { Console.WriteLine("oh shit"); }
if (x.HasValue)
Console.WriteLine(x.GetType());
x = 1;
Console.WriteLine(x.GetType());
Assert.AreEqual(null, x);
}
Lord help me