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

  • SEARCH
  • Home
  • 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 7164609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:06:11+00:00 2026-05-28T14:06:11+00:00

Sorry if this question was asked already. I started studying C# and noticed that

  • 0

Sorry if this question was asked already.
I started studying C# and noticed that C# doesn’t automatically import nested namespaces.
I don’t understand:

using System;

should automatically import all classes contained in the System namespace right?
So there should be no need for me to write

using System.Windows.Form;

I would understand if using Windows.Form even worked. But the compiler could not resolve it! What is the point of the using System; before it then?
So why does using System; not import System.Windows automatically as well as System.Windows.Forms – sorry if the word import is wrong here.. maybe move to global namespace is the right terminology.

  • 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-28T14:06:12+00:00Added an answer on May 28, 2026 at 2:06 pm

    C# is not Java.

    A using directive is used so you don’t have to type in the fully qualified name of a type. It also helps with disambiguating type names (using aliases for instance).

    In the case of Console, for example, you don’t need to type System.Console.

    It is important to understand the difference between a namespace and an assembly – a namespace is a logical grouping of types. An assembly is a physical grouping of types. Namespaces can span assemblies.

    When you reference an assembly (this is more like importing a package in Java), you gain access to all of the public types in it. In order to use a type you need to uniquely identify it. This is done through the namespace – the using directive simply means you don’t have to type the fully qualified name of the type.

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

Sidebar

Related Questions

sorry I know this question was asked already but the solution doesn't work for
I'm sorry if this question has been asked already, but I couldn't find it
I am sorry I have already asked this question on Superuser, but nobody answers
Sorry if this question is confusing. I have inherited a site that is already
Sorry if this question has been asked already. Am cloning from a repo named
I'm new to jquery, and sorry if this question is asked before (could find
Sorry if already asked, but I can't find anything on this. I am moving
Sorry if this question has been asked before. On my search through SO I
Sorry if this question has all ready been asked, maybe someone can point me
sorry if this question has been asked before, I searched but wasn't sure on

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.