Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
notjustavet committed Jul 14, 2019
1 parent a6dcccf commit 38684a9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions OzCodeDemo/07.FilterCollections/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
#Filter Collections
# Filter Collections

**With our Filter Collections feature, you can apply a filter expression to any collection**
##Overview

## Overview
Filtering a collection in code is relatively easy and there are plenty of ways to do it.

But how do you filter while debugging?

For example, you have a collection of customer objects, and you’d like to filter the ones that are older than 35 years. Visual Studio’s Immediate Window and Watch Window don’t support lambdas. With our _Filter Collections_ feature, you can apply a filter expression to any collection. To solve the customer problem, choose the collection of customers and set its filter to: DateTime.Today.Year – [obj].Birthday.Year > 35, press enter and see the results right away.

Once a collection is filtered, all the other features work on the filtered results as well.
##Using Filter Collections

## Using Filter Collections
In order to run this demo click the _Filter Collections_ button in the demo application.

![Filter Collections button](Resources/filterCollectionsButton.PNG)
Expand Down

0 comments on commit 38684a9

Please sign in to comment.