C# 0 The Complete Reference



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

WriteLine( )

. In this case, 



WriteLine( )

displays the string that is passed to it. Information that is passed to a method is called an 



argument.

 In addition to strings, 



WriteLine( )

 can be used to display other types of information. 

The line begins with 

Console

, which is the name of a predefined class that supports console 

I/O. By connecting 

Console

 with 


WriteLine( )

, you are telling the compiler that 



WriteLine( )

is a member of the 



Console

 class. The fact that C# uses an object to define console output is 

further evidence of its object-oriented nature.

Notice that the 



WriteLine( )

 statement ends with a semicolon, as does the 



using System

statement earlier in the program. In general, statements in C# end with a semicolon. The 

exception to this rule are 

blocks,

 which begin with a 




Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   63   64   65   66   67   68   69   70   ...   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