C# Language Specification



Download 0,75 Mb.
bet467/524
Sana06.01.2022
Hajmi0,75 Mb.
#324842
1   ...   463   464   465   466   467   468   469   470   ...   524
Bog'liq
CSharp Language Specification

Common Exception Classes


The following exceptions are thrown by certain C# operations.


System.ArithmeticException

A base class for exceptions that occur during arithmetic operations, such as System.DivideByZeroException and System.OverflowException.

System.ArrayTypeMismatchException

Thrown when a store into an array fails because the actual type of the stored element is incompatible with the actual type of the array.

System.DivideByZeroException

Thrown when an attempt to divide an integral value by zero occurs.

System.IndexOutOfRangeException

Thrown when an attempt to index an array via an index that is less than zero or outside the bounds of the array.

System.InvalidCastException

Thrown when an explicit conversion from a base type or interface to a derived type fails at run time.

System.NullReferenceException

Thrown when a null reference is used in a way that causes the referenced object to be required.

System.OutOfMemoryException

Thrown when an attempt to allocate memory (via new) fails.

System.OverflowException

Thrown when an arithmetic operation in a checked context overflows.

System.StackOverflowException

Thrown when the execution stack is exhausted by having too many pending method calls; typically indicative of very deep or unbounded recursion.

System.TypeInitializationException

Thrown when a static constructor throws an exception, and no catch clauses exists to catch it.




  1. Download 0,75 Mb.

    Do'stlaringiz bilan baham:
1   ...   463   464   465   466   467   468   469   470   ...   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