C# 0 The Complete Reference


IDictionary , IDictionary



Download 4,07 Mb.
Pdf ko'rish
bet976/1096
Sana23.01.2022
Hajmi4,07 Mb.
#402171
1   ...   972   973   974   975   976   977   978   979   ...   1096
Bog'liq
C-Sharp 3 The Complete Reference Herbert Schildt

IDictionary

,

IDictionary

,

ICollection

,

ICollection>

,

IEnumerable

,

IEnumerable>

,

ISerializable

, and 


IDeserializationCallback

. (The last two interfaces support the 

serialization of the list.) Dictionaries are dynamic, growing as needed.

Dictionary

 provides many constructors. Here is a sampling:

public Dictionary( )

public Dictionary(IDictionary 



dict

)

public Dictionary(int 



capacity

)

The first constructor creates an empty dictionary with a default capacity. The second creates 



a dictionary that contains the same elements as those in 

dict.

 The third lets you specify an 

initial capacity. If you know in advance that you will need a dictionary of a certain size, then 

specifying that capacity will prevent the resizing of the dictionary at runtime, which is a 

costly process.


Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   972   973   974   975   976   977   978   979   ...   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