Placing different generic types into a data structure, and then handling them upon removal
问题 I posted this question yesterday but it was marked as a duplicate of C# - Multiple generic types in one list To clarify, the answer in that problem shows how to correctly place multiple generic types into a single list. However that's not my problem. My problem is that, upon removing items from the list, I need to know what type they are in order to handle them correctly. As a starting point, I am using the answer to the above question because it does have a good solution for placing items of