Skip to content

Commit 4d9c499

Browse files
add issue with events chapter
1 parent aaf4acb commit 4d9c499

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Updates.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
# Book Updates
1+
# Book Updates and Issues
22

33
> See [.NET 6 Updates](Dotnet6Updates.md) for changes with .NET 6
44
5+
## Chapter 7, Delegates, Lambdas and Events
6+
7+
Page 190, the event name should be `NewCarCreated` instead of `NewCarInfo`:
8+
9+
```csharp
10+
public event EventHandler<CarInfoEventArgs>? NewCarCreated;
11+
```
12+
13+
[See source code](https://github.com/ProfessionalCSharp/ProfessionalCSharp2021/blob/main/1_CS/Delegates/EventsSample/CarDealer.cs)
14+
515
## Chapter 20, Security
616

717
Page 560, the command

0 commit comments

Comments
 (0)