469,926 Members | 2,174 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

System namespace.

Hello everyone
I'm looking at an example in the MSDN library and it says that this code requires a reference to the system namesppace. What does this mean?
Thanks in advance.
Nov 20 '05 #1
6 1263
CT
You should try and open a project in VS .NET, if you have it installed. That
way you can see for your self. Anyway, it means that the code relies one or
more classes/types "located" in the System namespace. A namespace is a
logical grouping of classes and types.

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"jeffo" <an*******@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
Hello everyone,
I'm looking at an example in the MSDN library and it says that this code
requires a reference to the system namesppace. What does this mean?
Thanks in advance.

Nov 20 '05 #2
"jeffo" <an*******@discussions.microsoft.com> schrieb
Hello everyone,
I'm looking at an example in the MSDN library and it says that this
code requires a reference to the system namesppace. What does this
mean? Thanks in advance.


I don't know what "referencing" a namespace means exactly. A namespace is a
method of structuring an assembly (a dll/exe). You can set a reference to an
assembly and you can refer to a namespace or use a namespace's name to
qualify a name in the namespace. To set a reference to an assembly,
right-click on "references" in the solution explorer. Which assembly depends
on the class you need. At the bottom of the documentation of the class, the
dll file to be referenced is listed.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
CT
Armin,

There's not a one to one relationship between namespaces and assemblies. A
namespace is not used to structure an assembly; an assembly is a unit of
deployment containing one or more namespaces, whereas a namespace is a
logical grouping that can span several assemblies.
--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Armin Zingler" <az*******@freenet.de> wrote in message
news:40***********************@news.freenet.de...
"jeffo" <an*******@discussions.microsoft.com> schrieb
Hello everyone,
I'm looking at an example in the MSDN library and it says that this
code requires a reference to the system namesppace. What does this
mean? Thanks in advance.


I don't know what "referencing" a namespace means exactly. A namespace is
a
method of structuring an assembly (a dll/exe). You can set a reference to
an
assembly and you can refer to a namespace or use a namespace's name to
qualify a name in the namespace. To set a reference to an assembly,
right-click on "references" in the solution explorer. Which assembly
depends
on the class you need. At the bottom of the documentation of the class,
the
dll file to be referenced is listed.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #4
"CT" <ca******@spammersgoawaydotnetservices.biz> schrieb
Armin,

There's not a one to one relationship between namespaces and
assemblies. A namespace is not used to structure an assembly; an
assembly is a unit of deployment containing one or more namespaces,
whereas a namespace is a logical grouping that can span several
assemblies. --


I know. That's why I wrote that the assembly to be referenced depends on the
class to be used, not on the namespace.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #5
CT
Heck, as long as we can agree...<g> Sorry, if I misunderstood your writing
:-)

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Armin Zingler" <az*******@freenet.de> wrote in message
news:40***********************@news.freenet.de...
"CT" <ca******@spammersgoawaydotnetservices.biz> schrieb
Armin,

There's not a one to one relationship between namespaces and
assemblies. A namespace is not used to structure an assembly; an
assembly is a unit of deployment containing one or more namespaces,
whereas a namespace is a logical grouping that can span several
assemblies. --


I know. That's why I wrote that the assembly to be referenced depends on
the
class to be used, not on the namespace.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #6
"CT" <ca******@spammersgoawaydotnetservices.biz> schrieb
Heck, as long as we can agree...<g> Sorry, if I misunderstood your
writing :-)


No problem, I was not clear enough. :-)

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by audipen | last post: by
1 post views Thread by Tom Welch | last post: by
reply views Thread by Jim Duffie | last post: by
9 posts views Thread by Arpan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.