Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyClass{
- // ...
- IEnumerable<Child> Children {get;set;}
- public int CountChildren(){
- return children.Count();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement