Namespace

  • Thread starter Teeravee Sirinapasawasdee
  • Start date
T

Teeravee Sirinapasawasdee

When I create 2 projects, first project contains 2 classe files, and second
one is windows application. if I want to use those 2 classes by refer from
the second project, what should I do? Can we create global namespace like
"System" namespace or "Microsoft" namespace?
 
J

Jon Skeet

Teeravee Sirinapasawasdee said:
When I create 2 projects, first project contains 2 classe files, and second
one is windows application. if I want to use those 2 classes by refer from
the second project, what should I do? Can we create global namespace like
"System" namespace or "Microsoft" namespace?

You can do whatever you like namespace wise, practically - but it would
probably be better for each project to have its own namespace or set of
namespaces. You just need to add a reference from the second project to
the first one, and use the namespaces from the first one as you would
any other namespaces.
 
T

Teeravee Sirinapasawasdee

If I add reference to another project, is it difficult for deployment?

Teeravee Sirinapasawasdee
Gestalt IT Consulting Group
Growth Your Business with e-Process
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top