You need the fully qualified type name:
var typeArgument = Type.GetType("System.Guid");
Then you can use reflection to get the parameterized type:
var genericType = typeof(MyClass<>).MakeGenericType(typeArgument);
Which you can then instantiate via:
var instance = Activator.CreateInstance(genericType);
But I'm not sure why you would want to do this or why it would be useful in your scenario. Since using this technique, you'll never be able to interact with MyClass<T>
where T
is defined as something you're specifying at compile-time, you lose most of the advantages of using generics in the first place.