G
Geoff Jones
Hi
I'm starting to look at C# after programming in C++ and was wondering if
anybody could help me with the following questions:
(1) What is the difference between a Project and Solution In Visual Studio
..NET?
(2) When programming in C++, to allow a file/class to know about other
classes, I normally include a header file in the source file of the class.
However, C# does not have header files i.e. all are written inline, and I
don't quite understand how one class would "know" about another class in
another file. I tried a small test application by creating a default Windows
application and then adding a new class. The main application file seemed to
know about this new class without adding an "include". Can anybody explain
what is going on?
Thanks in advance
Geoff
I'm starting to look at C# after programming in C++ and was wondering if
anybody could help me with the following questions:
(1) What is the difference between a Project and Solution In Visual Studio
..NET?
(2) When programming in C++, to allow a file/class to know about other
classes, I normally include a header file in the source file of the class.
However, C# does not have header files i.e. all are written inline, and I
don't quite understand how one class would "know" about another class in
another file. I tried a small test application by creating a default Windows
application and then adding a new class. The main application file seemed to
know about this new class without adding an "include". Can anybody explain
what is going on?
Thanks in advance
Geoff