Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. class MyClass{
  2. // ...
  3. IEnumerable<Child> Children {get;set;}
  4.  
  5. public int CountChildren(){
  6. return children.Count();
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement