I have created CMyClass,in which defined one method CallMe().when I build this project MyProject.dll is generated.
Now in some another project, I want to call CallMe of CMyClass .
can anybody tell me how to do it ?
Thanks in advance….
I have created CMyClass,in which defined one method CallMe().when I build this project MyProject.dll
Share
You should add a reference to the MyProject.dll to your new project,then, create an object of CMyClass:
CMyClass mClass=new CMyClass();
mClass.CallMe();