"prvEmployeeIncident"유형의 개체 목록을 반복합니다.목록에서 개체를 찾으려면 어떻게합니까?
목적은 다음과 같은 속성이 있습니다
public DateTime DateOfIncident { get; set; }
public bool IsCountedAsAPoint;
public decimal OriginalPointValue;
public bool IsFirstInCollection { get; set; }
public bool IsLastInCollection { get; set; }
public int PositionInCollection { get; set; }
public int DaysUntilNextPoint { get; set; }
public DateTime DateDroppedBySystem { get; set; }
public bool IsGoodBehaviorObject { get; set; }
내 목록은 DateOfIncident 속성에 의해 정렬됩니다. 다음 개체를 찾으려면 위로 IsCounted == true 인 목록을 IsCounted = false로 변경하십시오.
하나의 질문 :
1)이 개체를 목록에서 어떻게 찾을 수 있습니까?
일치하는 다음 항목 일 가능성이 큽니다. – Romoku