Technical requirements
Everything in this chapter can be done in a plain installation of C#. The only thing you might need extra if you’re following along is the NuGet MessagePack
package. You can install that through Visual Studio Code or using the following CLI command:
dotnet add package MessagePack
An overview of the GC
.NET is a managed system. As discussed earlier, many issues developers had to deal with are now handled by the Common Language Runtime (CLR). The CLR abstracts away most of the tedious tasks a developer faces so that they can focus on functionality instead.
Memory management is a tricky thing to do right, but also very important. Doing this wrong usually leads to memory leakage or instability in the software. Although no software should have that, system programming needs to avoid this. It might lead to unstable systems, making the whole computer unusable. Therefore, it is good that .NET developers don’t have to worry about this. The GC...