, androidi wrote

Example:

var list = new List<KeyValuePair<string, decimal>>();
myClass.GenericMethod<typeof(list)>(list);

I'm pretty sure C++11 had something like this, why doesn't C# have it?

it's called decltype, and it's awesome, come back to the right side Wink

C# doesn't have templates, so it wouldn't be that usefult there