c# get next item in collection code example
Example: c# get next item in list
MyList.SkipWhile(item => item.Name != "someName").Skip(1).FirstOrDefault()
MyList.SkipWhile(item => item.Name != "someName").Skip(1).FirstOrDefault()