示例#1
0
        static public void BuildTypicalParent()
        {
            var p = new PersonObject(1, "Sting", 0);

            p.AddChild(+3);
        }
示例#2
0
 static public bool AreEquivalent(PersonObject obj1, PersonObject obj2)
 => (obj1.Id == obj2.Id) && (obj1.Name == obj2.Name) && (obj1.ChildrenCount == obj2.ChildrenCount);