mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-01-15 20:50:00 +01:00
Update errata.md
This commit is contained in:
parent
4c8e118dd1
commit
4b1ff6b592
|
|
@ -677,7 +677,7 @@ await Task.WhenAll(tasks);
|
|||
Console.WriteLine($"{tasks.Count()} stars!");
|
||||
```
|
||||
|
||||
But the `WriteLine` methods should have been `Write` methods, as shown in the following code:
|
||||
But I mistakenly used `WriteLine` methods when they should have been `Write` methods, as shown in the following code:
|
||||
```cs
|
||||
IEnumerable<Task> tasks = Enumerable.Range(0, 2)
|
||||
.Select(_ => Task.Run(() => Console.Write("*")));
|
||||
|
|
|
|||
Loading…
Reference in a new issue