.net - Easiest way to return list<T> without first element -


somehow don´t @ moment want.

i data 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 want return list without first element (the newest price). got working, easiest way?

the easiest way writing criteria.list().cast<price>().skip(1).tolist();


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -