how to get last index of first property of object list in int type c# code example Example: c# get the last item in a list var lastItem = integerList.Last();