I have a list:
List<BtnCountViews> btnCountViewsList;
The BtnCountViews class looks like this:
public class BtnCountViews
{
public int DayOfYear { get; set; }
public int BtnCount { get; set; }
public int Views { get; set; }
}
The data has been added to the list in a sorted order already.
Can someone tell me how I can get just the last 50 elements? I am hoping it's possible with LINQ but I have not seen any examples on how to do this.