1. Socarsky

    Convert a List<object> to a string[,] 2D array

    I am in a difficulty to convert a List that is class object which populated from database, so far so good to have that list of object but I need its string[,] (2D) array as converted to apply a method which helps to get an print output. private void dateTimePicker1_ValueChanged(object sender...
  2. 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=...
Top Bottom