コード例 #1
0
        public static void CreateAndInitDemo()
        {
            Person0 p = new Person0();

            p.FirstName = "John";
            p.LastName  = "Doe";
        }
コード例 #2
0
 public static void UseObjectInitDemo()
 {
     Person0 p = new Person0()
     {
         FirstName = "John",
         LastName  = "Doe"
     };
 }