get the next value of List C# 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()