nullable type

nullable type represents nullable value type.

We can create a nullable type by suffixing the ? to the value type.


using System;
using System.IO;

class Test
{
    static void Main()
    {
        int? i = null;

    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.