1. tobias233

    Question How can I pass multiple type variables to generic type variable T?

    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=...
  2. sultanuzzaman

    Navigating to a page second time throws null exception

    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...
Top Bottom