on initialize a class by string variable in c#? I already found out how to create an class using a string
so what I already have is:
Type type = Type.GetType("project.start");
var class = Activator.CreateInstance(type);
what I want to do is call a function on this class for example:
class.foo();
is this possible? and if it is how?