Lets say I have
public partial class DeleteThisStruct<TKey, TValue>
However, values of TKey and TValue I would have to read as strings from a file (I already have a method to do that, so lets say I already have 2 strings) Example: "MyNamespace.MyClass" and "MyNamespace.MyClass2"
2nd problem is that code which need to instantiate this object is called from a different project but in the same solution. Lets say I am instantiating in ProjectA, while DeleteThisStruct is in ProjectB (which is included in references to ProjectA)
How would I, using generics or not, would dynamically instantiate DeleteThisStruct and get a member value from it?