C# Language Specification



Download 0,75 Mb.
bet134/524
Sana06.01.2022
Hajmi0,75 Mb.
#324842
1   ...   130   131   132   133   134   135   136   137   ...   524
Bog'liq
CSharp Language Specification

! expressions


For an expression expr of the form ! expr-operand:

  • The definite assignment state of v before expr-operand is the same as the definite assignment state of v before expr.

  • The definite assignment state of v after expr is determined by:

  • If the state of v after expr-operand is definitely assigned, then the state of v after expr is definitely assigned.

  • If the state of v after expr-operand is not definitely assigned, then the state of v after expr is not definitely assigned.

  • If the state of v after expr-operand is “definitely assigned after false expression”, then the state of v after expr is “definitely assigned after true expression”.

  • If the state of v after expr-operand is “definitely assigned after true expression”, then the state of v after expr is “definitely assigned after false expression”.
        1. ?? expressions


For an expression expr of the form expr-first ?? expr-second:

  • The definite assignment state of v before expr-first is the same as the definite assignment state of v before expr.

  • The definite assignment state of v before expr-second is the same as the definite assignment state of v after expr-first.

  • The definite assignment statement of v after expr is determined by:

  • If expr-first is a constant expression (§7.19) with value null, then the the state of v after expr is the same as the state of v after expr-second.

  • Otherwise, the state of v after expr is the same as the definite assignment state of v after expr-first.

        1. Download 0,75 Mb.

          Do'stlaringiz bilan baham:
1   ...   130   131   132   133   134   135   136   137   ...   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