C# Printing with dictionary -


i have problem algorithm fisher in c#.

i have class system of systemdecyzyjny. in have dictionary.

public dictionary<int, dictionary<int, double>> posortowane = new dictionary<int, dictionary<int, double>>(); 

data in dictionary: enter image description here

how display posortowane data in form1.cs in form: 2 4 1 3 . . . . . . . .

how refer dictionary , display data attributes?

if want access value of key 0, write this:

posortowane[0] 

this returns dictionary<int, double>.

now can read value key 0 of latter dictionary as:

posortowane[0][0] 

the value key 1 as:

posortowane[0][1] 

and on , forth.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -