2009-07-09 3 views

답변

8
// Updates a property or member of the item 
myList[2].myProperty = something; 

// Replaces the item in the list 
myList[2] = someNewItem; 
1

List<T>.Item 속성을 사용하십시오.

+0

대괄호는 내부적으로 이것을 사용합니다. –

+0

예! (이 15 자로 만들어주세요.) –

관련 문제