c# get next index zero if last 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()