유형 목록에서 속성을 가져 와서 다른 목록에 넣으려고합니다. 속성에 액세스하기 위해 객체 목록을 반복하는 방법을 정확히 모르겠습니다.목록에있는 개체의 속성에 액세스하는 방법?
List<images> myImages = new List<images>();
List<string> typeOfImage = new List<string>();
typeOfImage.Add(myImages.type);
누군가가 나를이 도움이 될 수 : 예를 들어
?
그냥 http://stackoverflow.com/questions/557340/c-sharp-generic-list-t-how-to-get [여기] (봐 -the-type-of-t) – RajeshKdev