Hello :joyous:,
I am doing C# for a half year now. Today I want to call a method like this in a class with the name "A":
public T TheMethod<T>(IRestResponse response) {
...
}
At compile time, T isn't known.
var theType = typeof(B);
So I tried the following:
var gMethod=...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.