Compiling namespaces in c#
Dear friends
i have problem in compiling namespaces. i have created a namespace having name Mcdonalds and inside it a class called burger.
Then i saved this namespace in a folder in c drive called mcdonalds. ie "c:\mcdonalds\mcdonalds.cs" Now when i compiled this from the console window i get a error that this (mcdonalds.cs) does not contain a main() function. Tell me how to compile it as a namespace doesnot contain main function.
When i try to access it(mcdonalds namespace) in a file c:\try.cs i get a message that this namespace does not exist.
Try to solve this.
Abhishek
abhishek_charliePosted Sep 30, 2003, 2:42 PM
chrishornbergerPosted Sep 29, 2003, 2:04 PM
abhishek_charliePosted Sep 29, 2003, 1:13 PM
chrishornbergerPosted Sep 28, 2003, 9:27 AM