This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy


■ T H E   P H I L O S O P H Y   O F   . N E T 23



Download 21,46 Mb.
Pdf ko'rish
bet103/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   99   100   101   102   103   104   105   106   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition

T H E   P H I L O S O P H Y   O F   . N E T



23

8849CH01.qxd  10/1/07  10:30 AM  Page 23




Simply put, a namespace is a grouping of semantically related types contained in an assembly.

For example, the System.IO namespace contains file I/O–related types, the System.Data namespace

defines basic database types, and so on. It is very important to point out that a single assembly

(such as mscorlib.dll) can contain any number of namespaces, each of which can contain any

number of types.

To clarify, Figure 1-5 shows a screen shot of the Visual Studio 2008 Object Brower utility. This

tool allows you to examine the assemblies referenced by your current project, the namespaces

within a particular assembly, the types within a given namespace, and the members of a specific

type. Note that mscorlib.dll contains many different namespaces, each with its own semantically

related types.



Figure 1-5.

A single assembly can have any number of namespaces.

The key difference between this approach and a language-specific library such as MFC is that

any language targeting the .NET runtime makes use of the 

same namespaces and same types. For

example, the following three programs all illustrate the ubiquitous “Hello World” application, writ-

ten in C#, VB .NET, and C++/CLI:


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   99   100   101   102   103   104   105   106   ...   1830




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish