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=...
I am using a serial port device that checks whether any object has been passed thru its gate when it is open. It takes "t" as input and responds with "1" if the object completely passed thru or "0" if the object returned. Depneding on the response the UI navigates to different pages with...
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.