In VB.NET 2010, How would one go about creating a list of Parent classes where each Parent has it's own list of Child classes. Where the list of child classes could be as few as 1 child or as many as a few hundred child objects?
相关问题
- What uses more memory in c++? An 2 ints or 2 funct
- 'System.Threading.ThreadAbortException' in
- how to use special characters like '<'
- How Does WebSphere Choose the Classloading Order i
- C# to VB - How do I convert this anonymous method
相关文章
- vb.net 关于xps文件操作问题
- Checking for DBNull throws a StrongTypingException
- Using the typical get set properties in C#… with p
- NameError: name 'self' is not defined, eve
- Load a .NET assembly from the application's re
- C# equivalent of VB DLL function declaration (Inte
- Mocking nested properties with mock
- What other neat tricks does the SpecialNameAttribu
You can do it like above
Sounds like you need a LinkedList object:
LinkedList Outer;
where ParentType is a class that has another LinkedList object of it own:
ChildType in above could even be replaced with "ParentType," if it's a list of the exact same kind of object.
For more detail on LinkedList: http://msdn.microsoft.com/en-us/library/6ky9a64s.aspx