C# Language Specification



Download 0,75 Mb.
bet125/524
Sana06.01.2022
Hajmi0,75 Mb.
#324842
1   ...   121   122   123   124   125   126   127   128   ...   524
Bog'liq
CSharp Language Specification

Do statements


For a do statement stmt of the form:

do do-body while ( expr ) ;



  • v has the same definite assignment state on the control flow transfer from the beginning of stmt to do-body as at the beginning of stmt.

  • v has the same definite assignment state at the beginning of expr as at the end point of do-body.

  • If v is definitely assigned at the end of expr, then it is definitely assigned on the control flow transfer to the end point of stmt.

  • If v has the state “definitely assigned after false expression” at the end of expr, then it is definitely assigned on the control flow transfer to the end point of stmt.
        1. For statements


Definite assignment checking for a for statement of the form:

for ( for-initializer ; for-condition ; for-iterator ) embedded-statement

is done as if the statement were written:

{
for-initializer ;


while ( for-condition ) {
embedded-statement ;
for-iterator ;
}
}

If the for-condition is omitted from the for statement, then evaluation of definite assignment proceeds as if for-condition were replaced with true in the above expansion.



        1. Download 0,75 Mb.

          Do'stlaringiz bilan baham:
1   ...   121   122   123   124   125   126   127   128   ...   524




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