C Sharp (C#) - Polymorphism and Abstract Classes
Given
List<object> mixed = new() { 5, "text", 7, 3.14, 10 };, which code snippet correctly creates a list of only the integers using pattern matching?