Question : Last elements in database
Answered by : sebastian-van-rooyen
collection.Skip(Math.Max(0, collection.Count() - N));
Source : https://itecnote.com/tecnote/c-using-linq-to-get-the-last-n-elements-of-a-collection/ | Last Update : Mon, 29 Aug 22