Repository navigation
Replies: 1 comment 1 reply
|
With the book printed code, there are too many curly braces. This should be with the using declaration. I've updated updates.md As an alternative way - with the using statement this could be done: Before C# 8 only the using statement was possible. See Using, using, using with C# 8 on differences. With a previous C# version, it was also not possible to use Remember, the |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am not sure but I've seen some differences(or mistakes?)
Does the above code have a compiler error?
await Task.Delay(15000);But in the book, you wrote:
Task.Delay(15000).Wait();All reactions