Created
April 28, 2018 21:22
-
-
Save dance2die/00a33b12253b93fa4c6dfbfdb6559422 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void AllDemo(List<Order> orders) | |
{ | |
var areAllOrdersPlacedOn2018 = orders.All(order => order.OrderDate.Year == 2018); | |
WriteLine($"Are All Orders Placed On 2018?: {areAllOrdersPlacedOn2018}"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment