Example #1
0
 public void Clear()
 {
     if (Next == null)
     {
         return;
     }
     Next.Clear();
     Next = null;
 }
Example #2
0
            public void Clear()
            {
                if (First != null)
                {
                    First.Clear();
                    First = null;
                }

                if (Last != null)
                {
                    Last.Clear();
                    Last = null;
                }

                if (Next != null)
                {
                    Next.Clear();
                    Next = null;
                }
            }