DEV Community

Cover image for .Net ga kirish. Commands
Sabrina
Sabrina

Posted on • Edited on

.Net ga kirish. Commands

vs studioga kirishimiz uchun ctrl + r bosishimiz kerak.
Enter fullscreen mode Exit fullscreen mode

C# dagi Funksiyalar!

Cmd - but terminal ish stolga o'tishi uchun.
Cd Desktop - "cd" bu fayl ichiga kirish uchun buyruq.Desktopdan keyin "papkani nomi" yozilish kerak.
Dir - papkani ichidagi fayllarni ko'rish uchun yordam beradi.
Cls - tozalash yoki clear.
Mkdir - papkada yangi fayl ochish.
dotnet new console - yangi console application yaratib beradi.
dotnet new console -n lesson - bizga yangi fayl yaratib avtomatik tarzda neew dotnet loyiha qo'shib beradi.
Cd .. - fayldan chiqish
code . - biz turgan fayldan "vs code" programmasiga kiradi.
dotnet build - build qiladi.

dotnet new sln -n "SolutionFileName" - yangi solution fayl yaratadi.
dotnet sln add ".csproj fayo manzili" - papkani ichiga fayl qo'shadi.

vs code da

Vs code dagi terminalni chiqarish uchun Ctrl + ~` bosish kerak.
Codni terminalga chiqarish uchun,terminalga - dotnet run yozish kerak.

Chiqarishdan oldin ctrl+s ni bosish kerak.

Save qilishdan oldin ham ctrl+s ni bosish kerak.

E'tiboringiz uchun raxmat!

Top comments (2)

Collapse
 
mushtariy profile image
Mushtariy

🦜🦜🦜🦜

Collapse
 
mushtariy profile image
Mushtariy

_ _
\ \/ /
\/