How can I create a function that will have a dynamic return type based on the parameter type?
Like
protected DynamicType Test(DynamicType type) { retur
Then you need use generics.
protected T Test(T type) { return type; }