Пример #1
0
 public void AddChildren(TestListElement child)
 {
     List<TestListElement> children = new List<TestListElement> {
         child
     };
     this.AddChildren(children);
 }
Пример #2
0
        public void AddChildren(TestListElement child)
        {
            List <TestListElement> children = new List <TestListElement> {
                child
            };

            this.AddChildren(children);
        }