C# Language Specification


User-defined explicit conversions



Download 0,75 Mb.
bet155/524
Sana06.01.2022
Hajmi0,75 Mb.
#324842
1   ...   151   152   153   154   155   156   157   158   ...   524
Bog'liq
CSharp Language Specification

User-defined explicit conversions


A user-defined explicit conversion consists of an optional standard explicit conversion, followed by execution of a user-defined implicit or explicit conversion operator, followed by another optional standard explicit conversion. The exact rules for evaluating user-defined explicit conversions are described in §6.4.5.
    1. Standard conversions


The standard conversions are those pre-defined conversions that can occur as part of a user-defined conversion.
      1. Standard implicit conversions


The following implicit conversions are classified as standard implicit conversions:

  • Identity conversions (§6.1.1)

  • Implicit numeric conversions (§6.1.2)

  • Implicit nullable conversions (§6.1.4)

  • Implicit reference conversions (§6.1.6)

  • Boxing conversions (§6.1.7)

  • Implicit constant expression conversions (§6.1.8)

  • Implicit conversions involving type parameters (§6.1.10)

The standard implicit conversions specifically exclude user-defined implicit conversions.

      1. Download 0,75 Mb.

        Do'stlaringiz bilan baham:
1   ...   151   152   153   154   155   156   157   158   ...   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