₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,803 members, 8,513,777 topics. Date: Thursday, 05 November 2026 at 01:44 PM

Toggle theme

Rink's Posts

Nairaland Forum › Rink's Profile › Rink's Posts

1 (of 1 pages)

Programming › Re: Why We Don't Include Main() In Namespace Definition? by Rink(op): 11:53pm On Aug 20, 2010
A namespace contains similar type of classes as its members.
I am new to c# programming. Just for practice I created a new namespace and when I complied it I got entry point error I believe it was because of Main() and then this question occured to me.
Please explain.
Programming › Why We Don't Include Main() In Namespace Definition? by Rink(op): 10:46pm On Aug 20, 2010
Why we don't include Main() in namespace definition? If we use Main() in namespace then will that cause any error?

1 (of 1 pages)