예제 #1
0
 private static string Format(App a)
 {
     string s = "[" + a.GetType().Name + "]";
     if (a.list == null)
         return s + " null";
     s += " " + a.list.Count;
     foreach (var b in a.list)
         s += "\n\t" + Format(b);
     return s;
 }