Rich

Rich

  • NA
  • 84
  • 61.1k

How do you access properties of an object in a list?

Jun 22 2012 7:39 PM
I am trying to take properties from a list of types and put them in another list. I am not exactly sure how you iterate through the list of objects to gain access to the properties. For example:

List<images> myImages = new List<images>();

List<string> typeOfImage = new List<string>();

typeOfImage.Add(myImages.type);

Answers (1)