Example #1
0
        public static void CreateAndInitDemo()
        {
            Person0 p = new Person0();

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