C# Language Specification


Break, continue, and goto statements



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

Break, continue, and goto statements


The definite assignment state of v on the control flow transfer caused by a break, continue, or goto statement is the same as the definite assignment state of v at the beginning of the statement.
        1. Throw statements


For a statement stmt of the form

throw expr ;

The definite assignment state of v at the beginning of expr is the same as the definite assignment state of v at the beginning of stmt.

        1. Return statements


For a statement stmt of the form

return expr ;



  • The definite assignment state of v at the beginning of expr is the same as the definite assignment state of v at the beginning of stmt.

  • If v is an output parameter, then it must be definitely assigned either:

  • after expr

  • or at the end of the finally block of a try-finally or try-catch-finally that encloses the return statement.

For a statement stmt of the form:

return ;


  • If v is an output parameter, then it must be definitely assigned either:

  • before stmt

  • or at the end of the finally block of a try-finally or try-catch-finally that encloses the return statement.

        1. Download 0,75 Mb.

          Do'stlaringiz bilan baham:
1   ...   122   123   124   125   126   127   128   129   ...   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