J
Jarod
Hey
I would like to write a function that returns type given as argument so it
would be likethis:
public GivenType GetFromSomeWhere(object sth, Type givenType)
{
return (givenType) sth;
}
Is it possible to write function that works like above ( it won't work now
But I hope you understand what I need.
Jarod
I would like to write a function that returns type given as argument so it
would be likethis:
public GivenType GetFromSomeWhere(object sth, Type givenType)
{
return (givenType) sth;
}
Is it possible to write function that works like above ( it won't work now

Jarod