Suppose I have 2 methods similar to:
public List<object> Do<T>(Stream stream)
{
... does cool things
}
public List<object> Do(Type type, Stream stream)
{
T = type // <- what should this be
return Do<T>(Stream);
}
What is the code that allows this to operate as expected?
I imagine this question has to duplicate something on here but I couldn't find it with my google-fu.