c# how do I pass a class in as a parameter to a function
Posted on 2010-11-27
I have a function that uses the lines below. I would like to pass in the class to the function instead of how it is hardcoded now. Is this possible?
string evClass = typeof(my.classname).FullName;
string evAssembly = typeof(my.classname).Assembly.FullName;
where my.classname is actually a class