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 325113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:11:12+00:00 2026-05-12T09:11:12+00:00

In my background in C++ I was a supporter of using the scope resolution

  • 0

In my background in C++ I was a supporter of using the scope resolution operator, for example

class Foo
{
    std::list<int>  m_list;
    ...
}

for external libraries, to keep clear which library you were using.

Now in C# I don’t know if there’s a rule of thumb or a best practice to know which packages should be included via the using keyword and which classes should be fully qualified. I suppose that this can be a subjetive issue, but would like to know the most extended practices.

  • 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-12T09:11:12+00:00Added an answer on May 12, 2026 at 9:11 am

    I pretty much never fully qualify names – I always use using directives instead.

    If I need to use two names which clash, I’ll give both of them aliases:

    using WinFormsTextBox = System.Windows.Forms.TextBox;
    using WebFormsTextBox = System.Web.UI.WebControls.TextBox;
    

    That rarely comes up though, in my experience.

    I tend to make autogenerated code fully qualify everything though, just for simplicity and robustness.

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

Sidebar

Related Questions

Background: I'm using the (fantastic) Vim plugin python-mode , which includes the pep8 linter.
Background - I am using paramiko to put files on a bunch of remote
Background Working in .NET 2.0 Here, reflecting lists in general. I was originally using
So, I'm looking to do a background image in CSS using a sprite sheet.
I'm using nAudio to play a background song in my WPF Application. Now to
how can I animate the background-position property using jQuery's animate function without using a
I'm using the Facepile plugin on a dark background, which is supposedly supported behavior,
I'm using the new CSS3 spec background-size to have a background image that slightly
I'm using the new CSS3 spec background-size to have a background image that slightly
I'm using... background:url(menu-bg.png) repeat-x, url(spot.gif) repeat; background:url(spot.gif)\0/; To create multiple background images in Chrome,

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.