C# 0 The Complete Reference


lowerBound  and  upperBound



Download 4,07 Mb.
Pdf ko'rish
bet354/1096
Sana23.01.2022
Hajmi4,07 Mb.
#402171
1   ...   350   351   352   353   354   355   356   357   ...   1096
Bog'liq
C-Sharp 3 The Complete Reference Herbert Schildt

lowerBound

 and 


upperBound

.

RangeArray

 illustrates just one kind of custom array that you can create through the 

use of indexers and properties. There are, of course, several others. For example, you can 

create dynamic arrays, which expand and contract as needed, associative arrays, and sparse 

arrays. You might want to try creating one of these types of arrays as an exercise.

www.freepdf-books.com



11

Inheritance

I

nheritance is one of the three foundational principles of object-oriented programming 



because it allows the creation of hierarchical classifications. Using inheritance, you can 

create a general class that defines traits common to a set of related items. This class can 

then be inherited by other, more specific classes, each adding those things that are unique 

to it.


In the language of C#, a class that is inherited is called a 

base class.

 The class that does 

the inheriting is called a 

derived class.

 Therefore, a derived class is a specialized version of a 

base class. It inherits all of the variables, methods, properties, and indexers defined by the 

base class and adds its own unique elements.




Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   350   351   352   353   354   355   356   357   ...   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