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


Exploring an Assembly Using ildasm.exe



Download 21,46 Mb.
Pdf ko'rish
bet112/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   108   109   110   111   112   113   114   115   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition

Exploring an Assembly Using ildasm.exe

If you are beginning to feel a tad overwhelmed at the thought of gaining mastery over every name-

space in the .NET platform, just remember that what makes a namespace unique is that it contains

types that are somehow semantically related. Therefore, if you have no need for a user interface

beyond a simple console application, you can forget all about the System.Windows.Forms, System.

Windows, and System.Web namespaces (among others). If you are building a painting application, the

database namespaces are most likely of little concern. Like any new set of prefabricated code, you

learn as you go.

C H A P T E R   1  

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



28

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




The Intermediate Language Disassembler utility (ildasm.exe), which ships with the .NET

Framework 3.5 SDK, allows you to load up any .NET assembly and investigate its contents, includ-

ing the associated manifest, CIL code, and type metadata. To load ildasm.exe, open a Visual Studio

command prompt (using Start ➤ All Programs ➤ Microsoft Visual Studio 2008 ➤ Visual Studio

Tools), type ildasm and press the Enter key.

Once you run this tool, proceed to the File ➤ Open menu command and navigate to an assem-

bly you wish to explore. By way of illustration, here is the Calc.exe assembly generated based on the

Calc.cs file shown earlier in this chapter (see Figure 1-7). ildasm.exe presents the structure of an

assembly using a familiar tree-view format.

Figure 1-7. ildasm.exe allows you to see the CIL code, manifest, and metadata within a .NET assembly.


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   108   109   110   111   112   113   114   115   ...   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