日期:2014-05-17 浏览次数:20755 次
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Person p = new Person();
p.Age = null;
p.Age2 =null;
}
}
public class Person
{
public int? Age
{
get;
set;
}
public int Age2
{
get;
set;
}
}
}