C# 0 The Complete Reference



Download 4,07 Mb.
Pdf ko'rish
bet605/1096
Sana23.01.2022
Hajmi4,07 Mb.
#402171
1   ...   601   602   603   604   605   606   607   608   ...   1096
Bog'liq
C-Sharp 3 The Complete Reference Herbert Schildt

BindingFlags

 form of 



GetMethods( )

. The reason for this 

is to prevent calling the methods inherited from 

object

. Second, notice how the number of 

parameters and return type of each method are obtained dynamically. A 

switch

 statement 

determines the number of parameters. Within each 

case

, the parameter type(s) and return 

type are checked. A method call is then constructed based on this information.

Attributes

C# allows you to add declarative information to a program in the form of an 



attribute.

 An 


attribute defines additional information (metadata) that is associated with a class, structure, 

method, and so on. For example, you might define an attribute that determines the type of 

button that a class will display. Attributes are specified between square brackets, preceding 

the item to which they apply. Thus, an attribute is not a member of a class. Rather, an 

attribute specifies supplemental information that is attached to an item.


Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   601   602   603   604   605   606   607   608   ...   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