This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy



Download 21,46 Mb.
Pdf ko'rish
bet128/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   124   125   126   127   128   129   130   131   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition



Note

The options sent to the command-line compiler (as well as most other command-line tools) can be pre-

fixed with either a dash (

-?

) or a slash (



/?

).

To compile TestApp.cs into a console application named TestApp.exe, change to the directory



containing your source code file:

cd C:\CscExample

and enter the following command set (note that command-line flags must come before the name of

the input files, not after):

csc /target:exe TestApp.cs

Here I did not explicitly specify an /out flag, therefore the executable will be named TestApp.exe,

given that TestApp is the name of the input file. Also be aware that most of the C# compiler flags

support an abbreviated version, such as /t rather than /target (you can view all abbreviations by

entering csc -? at the command prompt).

csc /t:exe TestApp.cs

Furthermore, given that the /t:exe flag is the default output used by the C# compiler, you

could also compile TestApp.cs simply by typing

csc TestApp.cs

TestApp.exe can now be run from the command line as shown in Figure 2-2.



Figure 2-2. TestApp.exe in action


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   124   125   126   127   128   129   130   131   ...   1830




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