Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// C#
==================== First/FirstOrDefault DEMO - Get First Order ====================
==================== First order after March ====================
Order ID: 3, Quantity: 30, Order Date: 03 Mar 2018 03:03 AM pst
==================== First or Default order after September ====================
<NULL>
// JS
==================== Filter (LINQ 'First/FirstOrDefault' Equivalent) DEMO - Get First Order ====================
==================== First order after March ====================
Order ID: 3, Quantity: 30, Order Date: Tue Apr 03 2018 03:03:03 GMT-0400 (Eastern Daylight Time)
==================== First 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.