C# 0 The Complete Reference


#pragma option is  checksum



Download 4,07 Mb.
Pdf ko'rish
bet571/1096
Sana23.01.2022
Hajmi4,07 Mb.
#402171
1   ...   567   568   569   570   571   572   573   574   ...   1096
Bog'liq
C-Sharp 3 The Complete Reference Herbert Schildt

#pragma

option is 



checksum

. It is used to generate checksums for ASP.NET 

projects. It has this general form.

#pragma checksum “



fi lename

” “{


GUID

}” “


check-sum

Here, 



filename

 is the name of the file



GUID

 is the globally unique identifier associated with 



filename,

 and 


check-sum

 is a hexadecimal number that contains the checksum. This string 

must contain an even number of digits.

Assemblies and the internal Access Modifier

An integral part of C# programming is the assembly. An 



assembly

 is a file (or files) that 

contains all deployment and version information for a program. Assemblies are fundamental 

to the .NET environment. They provide mechanisms that support safe component 

interaction, interlanguage operability, and versioning. An assembly also defines a scope.

An assembly is composed of four sections. The first is the assembly 



manifest.

 The manifest 

contains information about the assembly, itself. This data includes such things as the name of 

the assembly, its version number, type mapping information, and cultural settings. The second 

section is 

type metadata,

 which is information about the data types used by the program. 

Among other benefits, type metadata aids in cross-language interoperability. The third part 

of an assembly is the 



program code,

 which is stored in Microsoft Intermediate Language 

(MSIL) format. The fourth constituent of an assembly is the resources used by the program.

Fortunately, when using C#, assemblies are produced automatically, with little or no 

extra effort on your part. The reason for this is that the 

exe

 file created when you compile 

a C# program is actually an assembly that contains your program’s executable code as 

well as other types of information. Thus, when you compile a C# program, an assembly 

is automatically produced.

There are many other features and topics that relate to assemblies, but a discussion of 

these is outside the scope of this book. (Assemblies are an integral part of .NET development,

www.freepdf-books.com




458

 

P a r t   I :  



T h e   C #   L a n g u a g e

but are not technically a feature of the C# language.) However, there is one part of C# that 

relates directly to the assembly: the 

internal

 access modifier, which is examined next.




Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   567   568   569   570   571   572   573   574   ...   1096




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