G
Guest
Hello all
Venturing into the world of C# from MFC. One of the things I used to do in MFC was have a library of classes tha
I would use over & over again. I could just pick & choose which class I wanted to have in a new project, copy the
to the new project folder, add to project, include the new class .h where I wanted to use the class, and I had that class i
the new project. If I wanted the new class to be used by the document, view, mainframe, etc. I could declare the clas
as 'extern' in the app's header, and then every other class that had the app's header could use the same class
How do I do something similar in a C# project? Also, along the same line, if I wanted to have a variable to be use
by everybody, I could again declare it as 'extern' in the app's header and then all classes that included the app'
header could use that external variable, how is this done in C#
Any help, examples, links, etc. appreciated...
TIA
Ray K.
Venturing into the world of C# from MFC. One of the things I used to do in MFC was have a library of classes tha
I would use over & over again. I could just pick & choose which class I wanted to have in a new project, copy the
to the new project folder, add to project, include the new class .h where I wanted to use the class, and I had that class i
the new project. If I wanted the new class to be used by the document, view, mainframe, etc. I could declare the clas
as 'extern' in the app's header, and then every other class that had the app's header could use the same class
How do I do something similar in a C# project? Also, along the same line, if I wanted to have a variable to be use
by everybody, I could again declare it as 'extern' in the app's header and then all classes that included the app'
header could use that external variable, how is this done in C#
Any help, examples, links, etc. appreciated...
TIA
Ray K.