Reputation: 2508
Does .NET provide linked collection class with multiple Previous and Next? I can spend some time to write my own class, but if .NET has ready-to-use solution, I'll prefer that.
The situation: I'm modeling some system of connected components, where any unit can be connected to any number of another units. This is not list and even not tree, this is a web.
Upvotes: 0
Views: 75
Reputation: 353
If I understand you correctly you need to build a graph. Here is an article in MSDN about how to build graphs: http://msdn.microsoft.com/en-us/library/ms379574(v=vs.80).aspx
Upvotes: 1