chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
+1 vote

Hi,

I want to fake a generic method like below:

public void foo<T>(Object params) where T : SomeType {}

I want to be able to check the actual type for T in my faked method. Is this possible?

asked by Ash (1.6k points)

Please log in or register to answer this question.

...