Tina P wrote:
this is all done from a ASP .net page and that's why the questions was published in this section
But it's not related to ASP.NET, it's just vanilla C#, it could be in any C# project.
Tina P wrote:
Please educate me if there's a separate location pertaiing to questions regarding such data structures and their use
C# forum for general C# questions
Tina P wrote:
Now my question is that I'm not familiar with Dictionary data structure, so I'm not sure how is stuff functioning in the code that I'm looking at right now written by someone else with no cmments or documentation...
OK, well, that's another question. You have a dictionary, and when you look up a key, the value you get back is another dictionary. So, you could use this, for example, to create a grid, look up x first, then y. Of course, you'd usually use a 2D array for that, but the point is, to get to the data you want, you obvously need to look up two values, not one. It's just a dictionary, twice. You provide two keys to get to the end value.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.