c# find last int in a string list of ints code example Example: c# get the last item in a list var lastItem = integerList.Last();