cwoodruff / book-network-programming-csharp

http://csharp-networking.com
Other
35 stars 4 forks source link

A code issue in Chapter 3 #7

Closed aguluman closed 1 month ago

aguluman commented 1 month ago

In here, https://csharp-networking.com/chapter03/#session-timeouts

The remove keyword raised a problem in the IDE. The issue is caused by the use of the Remove method on [ConcurrentDictionary], which does not exist. Instead, you should use the TryRemove method.

image

cwoodruff commented 1 month ago

Thanks! Fixed and acknowledged.