??????
darnold924:
I meant
public static IEnumerable<object> AllParents(object obj) { while (true) { obj = GetParentObject(obj); if (obj == null) yield break; yield return obj; } }
No comments:
Post a Comment