AM I missing something? How can I create a method that returns a
generic data type without making a formal declaration. For Example:
public List<getData
{
}
I want my function to be able to return any data type that a caller
wants. I do not care what datatype they invoke with the list when
calling me. Ideally, I would then want to be able to inspect what
datatype the list is based on and throw an exception if it is not a
..Net standard datatype. I know this is not compilable is there any
other way to do this?