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.
1.png
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]
C#

Avatar of undefined
Last Comment
it_saige

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
it_saige

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy