Hi, I recently developed a program which has source and header files in vc++! what I want to do is convert the same in C#. I got the idea of source files but how to import/use header files in C#(I want seperate file for class creation/ data initialization like header files)? help me!
Jump to Post
C# does not use header files.
Everything is contained in the class itself.
The framework reads the "assembly" to determine what is available to other classes that call it.
You can put your classes in separate files or in separate projects.
Even if you are calling them from …
All 4 RepliesReply to this topic
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.