I have two classs:
Class Gold;
Class Functions;
There is a method ClassGet
in class Functions
, which has 2 parameters.
I want to send the class Gold
as parameter for one of my methods in class Functions
.
How is it possible?
For example:
public void ClassGet(class MyClassName, string blabla)
{
MyClassName NewInstance = new MyClassName();
}
Attention: I want to send MyClassName
as string parameter to my method.