[DOCS-5850] Comment on: "primer/query.txt" Created: 15/Jul/15 Updated: 03/Nov/17 Resolved: 15/Dec/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 7 SP1, Visual Studio 2012, C#, .NET 4.6 Location: https://docs.mongodb.org/getting-started/csharp/query/ |
||
| Participants: | |
| Days since reply: | 7 years, 9 weeks ago |
| Description |
|
result.Count().Should().Be(1959); Count is not a method, it is a Property. So this will not compile. It should be written like so: result.Count.Should().Be(1959); |
| Comments |
| Comment by Kay Kim (Inactive) [ 15/Dec/16 ] |
|
Added note that using LINQ extension method Count() |