1
Answer

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

Rich

Rich

12y
1.1k
1
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)