Cov txheej txheem:

Ua Tus Txheej Txheem Ua Haujlwm hauv C#: 5 Cov Kauj Ruam
Ua Tus Txheej Txheem Ua Haujlwm hauv C#: 5 Cov Kauj Ruam

Video: Ua Tus Txheej Txheem Ua Haujlwm hauv C#: 5 Cov Kauj Ruam

Video: Ua Tus Txheej Txheem Ua Haujlwm hauv C#: 5 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Ua Tus Txheej Txheem Ua Haujlwm hauv C#
Ua Tus Txheej Txheem Ua Haujlwm hauv C#

Yog li, tsim cov txheej txheem ua haujlwm hauv Kev Sib Tham tsis yooj yim!

Cov lus qhia no yuav qhia koj yuav ua li cas thiaj ua rau koj tus kheej C# kev ua haujlwm. Yog tias koj yog tus tshiab rau C#, txiav txim siab ua qee qhov kev tshawb fawb ua ntej.

Kauj Ruam 1: Sau Cov Khoom Siv

Sau cov peev txheej
Sau cov peev txheej

Ua ntej, koj yuav tsum muaj Microsoft Visual Studio 2010 lossis siab dua teeb tsa. Tom qab ntawd teeb tsa Cosmos Cov Khoom Siv Siv Milestone 4.

Txuas rau Cosmos Cov Neeg Siv Khoom:

Cosmos Project Page:

Yog tias koj muaj teeb meem nrog txhim kho Cosmos, tom qab ntawv tawm tswv yim.

Cia peb txav mus rau Kauj Ruam 2.

Kauj Ruam 2: Tsim Txoj Haujlwm

Tsim Txoj Haujlwm
Tsim Txoj Haujlwm

Tam sim no uas Cosmos tau teeb tsa, cia peb tsim txoj haujlwm.

Xaiv Cosmos Boot hauv C# Template daim ntawv teev npe. Yog tias koj tsis pom Cosmos Boot hauv C# Template npe, nyeem cov lus qhia daws teeb meem hauv qab no:

Teeb meem:

Yog tias nws tsis tshwm sim, sim cov hauv qab no:

  • Sim rov txhim kho Cosmos ua Tus Thawj Coj.
  • Sim txhim kho Visual Studio 2010.
  • Xaiv qhov sib txawv. NET Framework SDK.

Kauj Ruam 3: Coding [Qhov Lom Zem]

Coding [Qhov Zoo Tshaj Plaws]
Coding [Qhov Zoo Tshaj Plaws]

Tam sim no peb tuaj yeem pib coding!

NCO TSEG: Tsis txhob rho tawm ib qho Cosmos-tsim txoj cai tshwj tsis yog rau Console. WriteLine ("Koj nyuam qhuav pib C# code");

Piv txwv ntawm C# code:

Console. WriteLine ("Cosmos Tutorial");

Console. ForegroundColor = ConsoleColor. Green;

txoj hlua input;

plhaub:

cov tswv yim = Console. ReadLine ();

yog (input == "hw")

{

Console. WriteLine ("Nyob Zoo Ntiaj Teb!");

}

tau txais plhaub;

// Xaus Txoj Cai

Yog li ntawd yog qhov piv txwv plhaub. Plhaub yog ib qho yooj yim ua (kuv lub tswv yim).

Cia peb txav mus rau Kauj Ruam 4.

Kauj Ruam 4: Tsim Kev Ua Haujlwm

Tsim Kev Ua Haujlwm
Tsim Kev Ua Haujlwm

Tam sim no peb tau sau cov cai, nyem lub pob ntsuab ua si hauv Visual Studio ntawm Tool Sawb.

Nws yuav tsum tso Cosmos Builder.

Koj tuaj yeem sim nrog nws thiab ua txhua yam koj xav tau. Nws yuav txuag nws hauv cov ntawv ISO yog li koj tuaj yeem hlawv nws mus rau CD. Txoj hauv kev ntawm daim duab cov duab tau tshwm ntawm tus tsim.

Yog tias koj tsis xav hlawv nws, koj tuaj yeem ua raws nws siv software emulation xws li VirtualBox, Bochs, VMWare thiab ntau ntxiv.

Muaj kev lom zem nrog koj li Operating System!

Kauj ruam 5: Tutorial Tiav lawm

Koj tau ua tiav qhov kev qhia no!

Txhawm rau txhawb peb, ib yam li lossis faib nws! Yog xav paub ntau ntxiv los ntawm Ralphsoft, mus saib peb lub xaib.

Muaj kev lom zem, Ralphsoft

Pom zoo: