public void ToList() { Nullable <int> n = 2; Nullable <int> n0 = null; Assert.Equal(new int[] { 2 }, n.ToList()); Assert.Equal(new int[] { }, n0.ToList()); }