diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..12cba71 --- /dev/null +++ b/.gitignore @@ -0,0 +1,55 @@ +# ========================================== +# IDE & Editors (JetBrains: Rider, IDEA, Android Studio) +# ========================================== +.idea/ +*.iml +*.iws +*.ipr +.vscode/ +*.suo +*.user +*.userosscache +*.sln.docstates + +# ========================================== +# Database Tools (DBeaver) +# ========================================== +.dbeaver/ +.eclipse/ +*.dbeaver-data/ + +# ========================================== +# C# / .NET / Visual Studio / Rider builds +# ========================================== +bin/ +obj/ +out/ +[D-d]ebug/ +[R-r]elease/ +*.userprefs +*.pidb +*.versioncontrol +*.csproj.user + +# ========================================== +# Android Studio / Gradle / Kotlin +# ========================================== +.gradle/ +build/ +local.properties +.navigation/ +captures/ +.externalNativeBuild +.cxx/ +*.apk +*.aab +*.keystore +*.jks + +# ========================================== +# OS Generated Files & Logs +# ========================================== +.DS_Store +Thumbs.db +*.log +*.tmp diff --git a/works/lab-01/.vs/ProjectEvaluation/lab-01.metadata.v9.bin b/works/lab-01/.vs/ProjectEvaluation/lab-01.metadata.v9.bin new file mode 100644 index 0000000..c23c7cc Binary files /dev/null and b/works/lab-01/.vs/ProjectEvaluation/lab-01.metadata.v9.bin differ diff --git a/works/lab-01/.vs/ProjectEvaluation/lab-01.projects.v9.bin b/works/lab-01/.vs/ProjectEvaluation/lab-01.projects.v9.bin new file mode 100644 index 0000000..5d88437 Binary files /dev/null and b/works/lab-01/.vs/ProjectEvaluation/lab-01.projects.v9.bin differ diff --git a/works/lab-01/.vs/ProjectEvaluation/lab-01.strings.v9.bin b/works/lab-01/.vs/ProjectEvaluation/lab-01.strings.v9.bin new file mode 100644 index 0000000..cfa6f08 Binary files /dev/null and b/works/lab-01/.vs/ProjectEvaluation/lab-01.strings.v9.bin differ diff --git a/works/lab-01/.vs/lab-01/CopilotIndices/17.14.1701.5382/CodeChunks.db b/works/lab-01/.vs/lab-01/CopilotIndices/17.14.1701.5382/CodeChunks.db new file mode 100644 index 0000000..c09fa28 Binary files /dev/null and b/works/lab-01/.vs/lab-01/CopilotIndices/17.14.1701.5382/CodeChunks.db differ diff --git a/works/lab-01/.vs/lab-01/CopilotIndices/17.14.1701.5382/SemanticSymbols.db b/works/lab-01/.vs/lab-01/CopilotIndices/17.14.1701.5382/SemanticSymbols.db new file mode 100644 index 0000000..61ba8b2 Binary files /dev/null and b/works/lab-01/.vs/lab-01/CopilotIndices/17.14.1701.5382/SemanticSymbols.db differ diff --git a/works/lab-01/.vs/lab-01/DesignTimeBuild/.dtbcache.v2 b/works/lab-01/.vs/lab-01/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..84bb829 Binary files /dev/null and b/works/lab-01/.vs/lab-01/DesignTimeBuild/.dtbcache.v2 differ diff --git a/works/lab-01/.vs/lab-01/FileContentIndex/0219af95-49d9-4253-a328-0f65702df73d.vsidx b/works/lab-01/.vs/lab-01/FileContentIndex/0219af95-49d9-4253-a328-0f65702df73d.vsidx new file mode 100644 index 0000000..0802331 Binary files /dev/null and b/works/lab-01/.vs/lab-01/FileContentIndex/0219af95-49d9-4253-a328-0f65702df73d.vsidx differ diff --git a/works/lab-01/.vs/lab-01/v17/.futdcache.v2 b/works/lab-01/.vs/lab-01/v17/.futdcache.v2 new file mode 100644 index 0000000..75951a6 Binary files /dev/null and b/works/lab-01/.vs/lab-01/v17/.futdcache.v2 differ diff --git a/works/lab-01/.vs/lab-01/v17/DocumentLayout.backup.json b/works/lab-01/.vs/lab-01/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..c251e0f --- /dev/null +++ b/works/lab-01/.vs/lab-01/v17/DocumentLayout.backup.json @@ -0,0 +1,37 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}|lab-01\\lab-01.csproj|c:\\prog-radzh\\works\\\u0441#-lab\\lab-01\\lab-01\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}|lab-01\\lab-01.csproj|solutionrelative:lab-01\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Program.cs", + "DocumentMoniker": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\lab-01\\Program.cs", + "RelativeDocumentMoniker": "lab-01\\Program.cs", + "ToolTip": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\lab-01\\Program.cs", + "RelativeToolTip": "lab-01\\Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2026-09-05T18:08:25.89Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/works/lab-01/.vs/lab-01/v17/DocumentLayout.json b/works/lab-01/.vs/lab-01/v17/DocumentLayout.json new file mode 100644 index 0000000..549111f --- /dev/null +++ b/works/lab-01/.vs/lab-01/v17/DocumentLayout.json @@ -0,0 +1,37 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}|lab-01\\lab-01.csproj|c:\\prog-radzh\\works\\\u0441#-lab\\lab-01\\lab-01\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}|lab-01\\lab-01.csproj|solutionrelative:lab-01\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Program.cs", + "DocumentMoniker": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\lab-01\\Program.cs", + "RelativeDocumentMoniker": "lab-01\\Program.cs", + "ToolTip": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-01\\lab-01\\Program.cs", + "RelativeToolTip": "lab-01\\Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABYAAAAmAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2026-09-05T18:08:25.89Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/works/lab-01/Readme.md b/works/lab-01/Readme.md new file mode 100644 index 0000000..ff69304 --- /dev/null +++ b/works/lab-01/Readme.md @@ -0,0 +1,37 @@ +# Лабораторная работа №1 + +* **Студент:** [Раджабов Амирхан Исламович] +* **Вариант / Карточка:** [Введение в язык C#. Переменные, базовые типы данных и консольный ввод/вывод информации] + +--- + +### task 1 +```csharp +//task 1 +string pokemonName = "Чармандер"; +string elementType = "Огонь"; +int level = 1; +int hp = 95; + +Console.WriteLine($"=== БАЗА ДАННЫХ ПОКЕМОНОВ === \nПокемон: {pokemonName}\nСтихия: {elementType}\nУровень: {level} | HP:{hp}"); +``` + +### task 2 +```csharp +//task 2 +string trainerName = Console.ReadLine(); +string pokemonName = Console.ReadLine(); +string elementType = Console.ReadLine(); +string regionName = Console.ReadLine(); + +Console.WriteLine($"Введите имя тренера: {trainerName}"); +Console.WriteLine($"Введите имя покемона: {pokemonName}"); +Console.WriteLine($"Введите стихию: {elementType}"); +Console.WriteLine($"Введите регион: {regionName}"); +Console.WriteLine(""); +Console.WriteLine("****************************************"); +Console.WriteLine("ПАСПОРТ ПОКЕМОНА"); +Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})"); +Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]"); +Console.WriteLine("****************************************"); +``` \ No newline at end of file diff --git a/works/lab-01/lab-01.sln b/works/lab-01/lab-01.sln new file mode 100644 index 0000000..84c7b71 --- /dev/null +++ b/works/lab-01/lab-01.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.37531.7 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lab-01", "lab-01\lab-01.csproj", "{38C86E38-EFCD-4B99-9271-15ED2E2D8CED}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {38C86E38-EFCD-4B99-9271-15ED2E2D8CED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {38C86E38-EFCD-4B99-9271-15ED2E2D8CED}.Debug|Any CPU.Build.0 = Debug|Any CPU + {38C86E38-EFCD-4B99-9271-15ED2E2D8CED}.Release|Any CPU.ActiveCfg = Release|Any CPU + {38C86E38-EFCD-4B99-9271-15ED2E2D8CED}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {73EB97D7-71EE-459D-BED7-CB7CF04DD45E} + EndGlobalSection +EndGlobal diff --git a/works/lab-01/lab-01/Program.cs b/works/lab-01/lab-01/Program.cs new file mode 100644 index 0000000..ba75f1c --- /dev/null +++ b/works/lab-01/lab-01/Program.cs @@ -0,0 +1,27 @@ +//task 1 + +//string pokemonName = "Чармандер"; +//string elementType = "Огонь"; +//int level = 1; +//int hp = 95; + +//Console.WriteLine($"=== БАЗА ДАННЫХ ПОКЕМОНОВ === \nПокемон: {pokemonName}\nСтихия: {elementType}\nУровень: {level} | HP:{hp}"); + +//task 2 + +string trainerName = Console.ReadLine(); +string pokemonName = Console.ReadLine(); +string elementType = Console.ReadLine(); +string regionName = Console.ReadLine(); + +Console.WriteLine($"Введите имя тренера: {trainerName}"); +Console.WriteLine($"Введите имя покемона: {pokemonName}"); +Console.WriteLine($"Введите стихию: {elementType}"); +Console.WriteLine($"Введите регион: {regionName}"); +Console.WriteLine(""); +Console.WriteLine("****************************************"); +Console.WriteLine("ПАСПОРТ ПОКЕМОНА"); +Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})"); +Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]"); +Console.WriteLine("****************************************"); + diff --git a/works/lab-01/lab-01/lab-01.csproj b/works/lab-01/lab-01/lab-01.csproj new file mode 100644 index 0000000..7db55ee --- /dev/null +++ b/works/lab-01/lab-01/lab-01.csproj @@ -0,0 +1,11 @@ + + + + Exe + net8.0 + lab_01 + enable + enable + + + diff --git a/works/lab-02/Readme.md b/works/lab-02/Readme.md new file mode 100644 index 0000000..9756237 --- /dev/null +++ b/works/lab-02/Readme.md @@ -0,0 +1,15 @@ +# Лабораторная работа №2 + +* **Студент:** [ФИО] +* **Вариант / Карточка:** [Например: #025 Pikachu] + +--- + +## Ключевой код +```csharp +// Самая важная часть реализации (методы, структуры, логика) +public class Card +{ + public string Name { get; set; } + public int Hp { get; set; } +}