i have multiple c# classes, they have completely different functionalities and i write a lot of them daily and i don't want to build everytime i add a class, but all classes share a function which is called Run() and it takes no parameters also the constructors never take a parameter, is it possible get a c# file from a path compile it and then making an instance of it and calling the Run() from that instance?
all i do to make a class do its job is
var x = new xclass(); //the constructor never takes a param
x.Run();
but what i want to do is
var x = CreateInstance(getClassbyPath("xxx.cs"));
x.Run();