Updated based on copy edits.
MODIFY
src/Chapter21/Listing21.05.CancelingParallelLoop.cs
src/Chapter21/Listing21.05.CancelingParallelLoop.cs
@@ -32,7 +32,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter21.Listing21_05
cts.Token.Register(
() => Console.WriteLine("Canceling..."));
- Console.WriteLine("Push ENTER to exit.");
+ Console.WriteLine("Press ENTER to exit.");
// Use Task.Factory.StartNew<string>() for
// TPL prior to .NET 4.5

MODIFY
src/Chapter21/Listing21.10.CancelingParallelLoop.cs
src/Chapter21/Listing21.10.CancelingParallelLoop.cs
@@ -41,7 +41,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter21.Listing21_10
data = ParallelEncrypt(data, cts.Token);
}, cts.Token);
- Console.WriteLine("Push any key to Exit.");
+ Console.WriteLine("Press any key to Exit.");
Task<int> cancelTask = ConsoleReadAsync(cts.Token);
try

MODIFY
src/Chapter22/Listing22.07.FiringEventNotification.cs
src/Chapter22/Listing22.07.FiringEventNotification.cs
@@ -8,7 +8,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter22.Listing22_07
public void Main()
{
- // Not thread-safe
+ // Not thread safe
if(OnTemperatureChanged != null) // Warning ignored to demonstrate problem.
{
// Call subscribers

Updated based on copy edits.