There is the Linq OfType
extension method.
Thank you so much! This had me stuck for hours
I wonder, is this a typical thing to do in C#? Coming from C++ it is very frowned upon when you want to cast a base down to a derived
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/type-testing-and-cast
C# devs
null reference exceptions