YoloJoeYolo
Custom class is not able to be used with generic type T
Hello everyone I am just programming and run into a problem.
I wrote a custom class:
However when I want to call it as a method parameter with generic type T it does not work:
private void DoSomeThing(ref ServiceResponse<T> serviceResponse){...}
it does not work.
Can someone please help me?
15 replies