C# 0 The Complete Reference



Download 4,07 Mb.
Pdf ko'rish
bet69/1096
Sana23.01.2022
Hajmi4,07 Mb.
#402171
1   ...   65   66   67   68   69   70   71   72   ...   1096
Bog'liq
C-Sharp 3 The Complete Reference Herbert Schildt

Handling Syntax Errors

If you are new to programming, it is important to learn how to interpret and respond to errors 

that may occur when you try to compile a program. Most compilation errors are caused by 

typing mistakes. As all programmers soon find out, accidentally typing something incorrectly 

is quite easy. Fortunately, if you type something wrong, the compiler will report a 

syntax error

message when it tries to compile your program. This message gives you the line number at 

which the error is found and a description of the error itself.

Although the syntax errors reported by the compiler are, obviously, helpful, they 

sometimes can also be misleading. The C# compiler attempts to make sense out of your 

source code no matter what you have written. For this reason, the error that is reported 

may not always reflect the actual cause of the problem. In the preceding program, for 

example, an accidental omission of the opening curly brace after the 




Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   65   66   67   68   69   70   71   72   ...   1096




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