Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// C#
==================== Last/LastOrDefault DEMO - Get Last Order ====================
==================== Last order after March ====================
Order ID: 5, Quantity: 20, Order Date: 05 May 2018 05:05 AM pst
==================== Last or Default order after September ====================
<NULL>
// JS
==================== Filter (LINQ 'Last/LastOrDefault' Equivalent) DEMO - Get Last Order ====================
==================== Last order after March ====================
Order ID: 5, Quantity: 20, Order Date: Tue Jun 05 2018 05:05:05 GMT-0400 (Eastern Daylight Time)
==================== Last or Default order after September ====================
<NULL>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.