Re: How To Use Nested Namespace [Help]
From: Scott M. (s-mar_at_BADSPAMsnet.net)
Date: 04/06/04
- Next message: Tom: "Re: GURUS: VB .NET alternatives to C# type conversion operators and operator overloading?"
- Previous message: Krunoslav: "GURUS: VB .NET alternatives to C# type conversion operators and operator overloading?"
- In reply to: Tiraman: "How To Use Nested Namespace [Help]"
- Next in thread: Tiraman: "Re: How To Use Nested Namespace [Help]"
- Reply: Tiraman: "Re: How To Use Nested Namespace [Help]"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Apr 2004 15:57:32 -0400
By default, your project name becomes the "root namespace" of your assembly.
If you are using VS.NET, just right click on the project in the Solution
Explorer and you'll see an option to change the name of the Root Namespace
there.
To create sub-namespaces, do exactly what you wrote down below (remembering
to end each namespace):
Namespace A
Namespace B
Namespace C
Public Class Foo
End Class
End Namespace
End Namespace
End Namespace
All 3 namespaces are part of the root namespace (project name by default or
you change in project properties) and Foo is in the namespace:
RootNamespace.A.B.C.Foo
"Tiraman" <tiraman@netvision.net.il> wrote in message
news:eUn0fABHEHA.3528@TK2MSFTNGP09.phx.gbl...
> Hi ,
>
> I would like to use nested namespace .
>
> I have 3 namespace as dll's :
> Namespace A
> Namespace B
> Namespace C
>
> And i want to have some namespace that contain them all , some thing like
>
> Namespace MyComp.A.B.C
> Or
> Namespace MyComp.A.B or Namespace B.C And so on ...
>
> (e.g ---> System.Data)
>
> please help
>
>
- Next message: Tom: "Re: GURUS: VB .NET alternatives to C# type conversion operators and operator overloading?"
- Previous message: Krunoslav: "GURUS: VB .NET alternatives to C# type conversion operators and operator overloading?"
- In reply to: Tiraman: "How To Use Nested Namespace [Help]"
- Next in thread: Tiraman: "Re: How To Use Nested Namespace [Help]"
- Reply: Tiraman: "Re: How To Use Nested Namespace [Help]"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|