Somehow I don´t get this at the moment as I want.
I get data from database via NHibernate.
ICriteria criteria = session.CreateCriteria(typeof(Price));
criteria.AddOrder(new NHibernate.Expression.Order("ValidFrom", false));
List<Price> prices = criteria.List().Cast<Price>().ToList();
Now I want to return the list without the first element (the newest price). I got something working, but what would be the easiest way?
The easiest way would be writing
criteria.List().Cast<Price>().Skip(1).ToList();