Top "Generic-type-argument" questions

error: type List does not take parameters

I get the following error despite it's exactly one used in examples: error: type List does not take parameters List&…

java list compiler-errors generic-type-argument
How to pass a type to generic method in Kotlin?

I have a generic method like below private fun <T> getSomething(): T { return "something" as T } How can …

generics kotlin parameter-passing generic-type-argument
How to create List<T> instance in C# file using Reflection

HI, I have a requirement to create instance for list object at runtime using reflection. For example I have 2 classes …

.net reflection instance generic-type-argument
SetValue with generic type T

I have this function: the variable c obtains all the properties of my class <T> in this case: …

c# reflection instance generic-type-argument