how to grab the last index of a list in cC# code example Example: c# get the last item in a list var lastItem = integerList.Last();