Namespace

  • Thread starter Thread starter Teeravee Sirinapasawasdee
  • Start date 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?
 
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.
 
If I add reference to another project, is it difficult for deployment?

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