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; }
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; }