Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4346986
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:14:47+00:00 2026-05-21T12:14:47+00:00

I am writing a class library that contains classes with purely internal members. I

  • 0

I am writing a class library that contains classes with purely internal members. I have these divided into namespaces. There are no public or protected members in these internal classes.
The thing is, when I use this class library in a client application, these namespaces show up on intellisense. of course, they contain no accessable items, so it just ends, but I am worried that this may confuse users of the library
example:

    namespace mynamespace.yournamespace  
    {  
        internal class blah  
        {  
            internal void function1(){};  
            internal void function2(){};  
        }  
    }  

When used externally intellisense will show for: mynamespace.yournamespace but not offer any members (because theyre internal).
The question then, is, is there a way to prevent those internal classes from showing up in intellisense, or am I just worried about nothing? or…..if its internal, does it even need its own namespace?
Any help appreciated

(there is a similar post at: How can I prevent a public class that provides extension methods from appearing in Intellisense? that was inconclusive.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T12:14:48+00:00Added an answer on May 21, 2026 at 12:14 pm

    No, I don’t think there is a way.

    Based on the error

    Error 1 A namespace declaration cannot have modifiers or attributes

    I don’t see how you could specify that a namespace should be hidden.

    The only (?) other way this might have been done is with include/exclude lists in the Intellisense settings but they’re not there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently writing a class that implements the SeekableIterator interface and have run into
When writing a class do you group members variables of the same type together?
I'm busy writing a class that monitors the status of RAS connections. I need
When writing an abstract class, or a class that doesn't get instantiated directly... do
I'm writing a JavaSCript class that has a method that recursively calls itself. Scheduler.prototype.updateTimer
I'm currently writing a class to handle all database-activity in my application, and so
I'm currently writing a C#-class in my ASP.NET (3.5) application to handle all database-queries.
I was writing a database handler class in PHP using the mysqli class and
I'm writing some code for a class constructor which loops through all the properties
I am writing a .NET wrapper class for an existing native class which throws

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.