Skip to content

Commit

Permalink
README: documents WhereNot method
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusschulz committed Sep 5, 2015
1 parent 0769937 commit 49c4322
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Expand Up @@ -339,8 +339,15 @@ Note that the main purpose of `ToHashSet` is to provide a chainable wrapper arou

#### `WhereNot`

...
Filters a sequence of values based on a given predicate and returns those values that don't match the predicate.

```csharp
string[] theThreeRings = { "Narya", "Nenya", "Vilya" };
Func<string, bool> startsWithN = value => value.StartsWith("N");
string vilya = theThreeRings.WhereNot(startsWithN).Single();

// vilya = "Vilya"
```

#### `Without`

Expand Down

0 comments on commit 49c4322

Please sign in to comment.