Link to home
Start Free TrialLog in
Avatar of teknovation
teknovation

asked on

C# experts, how to read from the array list

Can someone show me how to retrieve the value "2016" from the [1] attribute?

This is reading from an array called pricelist[0] using C# code.
User generated image
Right now the code that reads it is this:
 Console.WriteLine("   - This is the Price List: " +  pricelist[0].Attributes.Values);

The output is: System.Collection.Generic.Dictionary'2 [System.String.System.Object]
ASKER CERTIFIED SOLUTION
Avatar of it_saige
it_saige
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial