© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
5 replies
wcasa

Some namespace and class questions..

namespace Cool
{
    class VeryCool
    {
        static void main(string[] args)
        {
        namespace Console
    {
        WriteLine("Why isnt it possible?"); 
    }    
        }
    }
}
namespace Cool
{
    class VeryCool
    {
        static void main(string[] args)
        {
        namespace Console
    {
        WriteLine("Why isnt it possible?"); 
    }    
        }
    }
}
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ DialogResult and MessageBox in class (namespace)
C#CC# / help
3y ago
Class with same name as namespace
C#CC# / help
2y ago
✅ class library and exposing a type from another namespace
C#CC# / help
3y ago
namespace missing imports after copying class [Answered]
C#CC# / help
4y ago