Created
August 26, 2016 11:05
-
-
Save dkudelko/150180788cd50f76ecba30ef4e658836 to your computer and use it in GitHub Desktop.
Enumerator.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var enumerator = list.GetEnumerator(); | |
while (enumerator.MoveNext()) | |
if (enumerator.Current.Id.Equals(customId)) | |
{ | |
enumerator.Current.DateModified = DateTime.Now; | |
//... smght else | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment