Link to home
Create AccountLog 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
Create an account to see this answer
Signing up is free. No credit card required.
Create Account