diff options
author | Larry Boltovskoi <larry.bolt@gmail.com> | 2017-08-02 21:03:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 21:03:42 +0200 |
commit | 9d0d3a0e342d483278e02ccdefa5eb51073a8899 (patch) | |
tree | f649a8f94b5d6e838cd7e91071b12f0e8a19cdb1 /csharp.html.markdown | |
parent | 6e7c5c793327f4a63b13e555894597915ca91fda (diff) |
Spelling mistake that threw me of while reading
Diffstat (limited to 'csharp.html.markdown')
-rw-r--r-- | csharp.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csharp.html.markdown b/csharp.html.markdown index cca99fb0..8a631e54 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -593,7 +593,7 @@ on a new line! ""Wow!"", the masses cried"; Console.WriteLine(bikeSummary.Name); // ASPARALLEL - // And this is where things get wicked - combines linq and parallel operations + // And this is where things get wicked - combine linq and parallel operations var threeWheelers = bikes.AsParallel().Where(b => b.Wheels == 3).Select(b => b.Name); // this will happen in parallel! Threads will automagically be spun up and the // results divvied amongst them! Amazing for large datasets when you have lots of @@ -613,7 +613,7 @@ on a new line! ""Wow!"", the masses cried"; .ThenBy(b => b.Name) .Select(b => b.Name); // still no query run - // Now the query runs, but opens a reader, so only populates are you iterate through + // Now the query runs, but opens a reader, so only populates as you iterate through foreach (string bike in query) Console.WriteLine(result); |