User2110873642 posted
i want a function to return an object casted to the type that a caller specifies
Definition
public T GetCache<T>()
{
return (T)Convert.ChangeType(CachedModel, typeof(T));
}
Usage (as you see, it does not get casted, because it does not have any property suggestions)
