Silva
✅ Receiving any instance of a generic class in a method, no matter what the generic type is.
Title, how can I allow for a method to receive any instance of a generic class, no matter what the generic type is.
So a method that could receive both Generic<int> and Generic<string>.
Doing public void MyMethod(Generic param) doesn't work
167 replies