diff --git a/works/С#-lab/lab-02/.vs/Lab-02/CopilotIndices/17.14.1701.5382/CodeChunks.db b/works/С#-lab/lab-02/.vs/Lab-02/CopilotIndices/17.14.1701.5382/CodeChunks.db
new file mode 100644
index 0000000..c848a52
Binary files /dev/null and b/works/С#-lab/lab-02/.vs/Lab-02/CopilotIndices/17.14.1701.5382/CodeChunks.db differ
diff --git a/works/С#-lab/lab-02/.vs/Lab-02/CopilotIndices/17.14.1701.5382/SemanticSymbols.db b/works/С#-lab/lab-02/.vs/Lab-02/CopilotIndices/17.14.1701.5382/SemanticSymbols.db
new file mode 100644
index 0000000..091f525
Binary files /dev/null and b/works/С#-lab/lab-02/.vs/Lab-02/CopilotIndices/17.14.1701.5382/SemanticSymbols.db differ
diff --git a/works/С#-lab/lab-02/.vs/Lab-02/DesignTimeBuild/.dtbcache.v2 b/works/С#-lab/lab-02/.vs/Lab-02/DesignTimeBuild/.dtbcache.v2
new file mode 100644
index 0000000..436484e
Binary files /dev/null and b/works/С#-lab/lab-02/.vs/Lab-02/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/works/С#-lab/lab-02/.vs/Lab-02/FileContentIndex/7bec05eb-a391-4f07-92c1-9b269d664728.vsidx b/works/С#-lab/lab-02/.vs/Lab-02/FileContentIndex/7bec05eb-a391-4f07-92c1-9b269d664728.vsidx
deleted file mode 100644
index f42365f..0000000
Binary files a/works/С#-lab/lab-02/.vs/Lab-02/FileContentIndex/7bec05eb-a391-4f07-92c1-9b269d664728.vsidx and /dev/null differ
diff --git a/works/С#-lab/lab-02/.vs/Lab-02/FileContentIndex/ede572a5-12d3-49f8-ab37-36e8b17956ca.vsidx b/works/С#-lab/lab-02/.vs/Lab-02/FileContentIndex/ede572a5-12d3-49f8-ab37-36e8b17956ca.vsidx
new file mode 100644
index 0000000..196218e
Binary files /dev/null and b/works/С#-lab/lab-02/.vs/Lab-02/FileContentIndex/ede572a5-12d3-49f8-ab37-36e8b17956ca.vsidx differ
diff --git a/works/С#-lab/lab-02/.vs/Lab-02/v17/.futdcache.v2 b/works/С#-lab/lab-02/.vs/Lab-02/v17/.futdcache.v2
index 2f16c31..b701a7b 100644
Binary files a/works/С#-lab/lab-02/.vs/Lab-02/v17/.futdcache.v2 and b/works/С#-lab/lab-02/.vs/Lab-02/v17/.futdcache.v2 differ
diff --git a/works/С#-lab/lab-02/.vs/Lab-02/v17/DocumentLayout.backup.json b/works/С#-lab/lab-02/.vs/Lab-02/v17/DocumentLayout.backup.json
index 2cbd628..9dec4a7 100644
--- a/works/С#-lab/lab-02/.vs/Lab-02/v17/DocumentLayout.backup.json
+++ b/works/С#-lab/lab-02/.vs/Lab-02/v17/DocumentLayout.backup.json
@@ -1,12 +1,37 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-02\\",
- "Documents": [],
+ "Documents": [
+ {
+ "AbsoluteMoniker": "D:0:0:{1618B996-07F0-4089-B793-2F90075E414D}|lab-02\\lab-02.csproj|c:\\prog-radzh\\works\\\u0441#-lab\\lab-02\\lab-02\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{1618B996-07F0-4089-B793-2F90075E414D}|lab-02\\lab-02.csproj|solutionrelative:lab-02\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ }
+ ],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
- "DocumentGroups": []
+ "DocumentGroups": [
+ {
+ "DockedWidth": 200,
+ "SelectedChildIndex": 0,
+ "Children": [
+ {
+ "$type": "Document",
+ "DocumentIndex": 0,
+ "Title": "Program.cs",
+ "DocumentMoniker": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-02\\lab-02\\Program.cs",
+ "RelativeDocumentMoniker": "lab-02\\Program.cs",
+ "ToolTip": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-02\\lab-02\\Program.cs",
+ "RelativeToolTip": "lab-02\\Program.cs",
+ "ViewState": "AgIAACQAAAAAAAAAAAAAADEAAAAhAAAAAAAAAA==",
+ "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
+ "WhenOpened": "2026-09-05T19:03:29.802Z",
+ "EditorCaption": ""
+ }
+ ]
+ }
+ ]
}
]
}
\ No newline at end of file
diff --git a/works/С#-lab/lab-02/.vs/Lab-02/v17/DocumentLayout.json b/works/С#-lab/lab-02/.vs/Lab-02/v17/DocumentLayout.json
index 64f06d1..f24433d 100644
--- a/works/С#-lab/lab-02/.vs/Lab-02/v17/DocumentLayout.json
+++ b/works/С#-lab/lab-02/.vs/Lab-02/v17/DocumentLayout.json
@@ -3,8 +3,8 @@
"WorkspaceRootPath": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-02\\",
"Documents": [
{
- "AbsoluteMoniker": "D:0:0:{461029EE-A0DE-41B2-A4B9-6F336449D66F}|ConsoleApp1\\ConsoleApp1.csproj|c:\\prog-radzh\\works\\\u0441#-lab\\lab-02\\consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
- "RelativeMoniker": "D:0:0:{461029EE-A0DE-41B2-A4B9-6F336449D66F}|ConsoleApp1\\ConsoleApp1.csproj|solutionrelative:consoleapp1\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
+ "AbsoluteMoniker": "D:0:0:{1618B996-07F0-4089-B793-2F90075E414D}|lab-02\\lab-02.csproj|c:\\prog-radzh\\works\\\u0441#-lab\\lab-02\\lab-02\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "RelativeMoniker": "D:0:0:{1618B996-07F0-4089-B793-2F90075E414D}|lab-02\\lab-02.csproj|solutionrelative:lab-02\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
@@ -20,13 +20,13 @@
"$type": "Document",
"DocumentIndex": 0,
"Title": "Program.cs",
- "DocumentMoniker": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-02\\ConsoleApp1\\Program.cs",
- "RelativeDocumentMoniker": "ConsoleApp1\\Program.cs",
- "ToolTip": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-02\\ConsoleApp1\\Program.cs",
- "RelativeToolTip": "ConsoleApp1\\Program.cs",
- "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAAuAAAAAAAAAA==",
+ "DocumentMoniker": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-02\\lab-02\\Program.cs",
+ "RelativeDocumentMoniker": "lab-02\\Program.cs",
+ "ToolTip": "C:\\prog-radzh\\works\\\u0421#-lab\\lab-02\\lab-02\\Program.cs",
+ "RelativeToolTip": "lab-02\\Program.cs",
+ "ViewState": "AgIAACoAAAAAAAAAAAAAADYAAAANAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2026-09-05T17:59:55.612Z",
+ "WhenOpened": "2026-09-05T19:03:29.802Z",
"EditorCaption": ""
}
]
diff --git a/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.metadata.v9.bin b/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.metadata.v9.bin
index 77ee448..aa091b4 100644
Binary files a/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.metadata.v9.bin and b/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.metadata.v9.bin differ
diff --git a/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.projects.v9.bin b/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.projects.v9.bin
index 6386086..a7ebd72 100644
Binary files a/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.projects.v9.bin and b/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.projects.v9.bin differ
diff --git a/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.strings.v9.bin b/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.strings.v9.bin
index 3daea43..27915c7 100644
Binary files a/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.strings.v9.bin and b/works/С#-lab/lab-02/.vs/ProjectEvaluation/lab-02.strings.v9.bin differ
diff --git a/works/С#-lab/lab-02/ConsoleApp1/ConsoleApp1.csproj b/works/С#-lab/lab-02/ConsoleApp1/ConsoleApp1.csproj
deleted file mode 100644
index 6c1dc92..0000000
--- a/works/С#-lab/lab-02/ConsoleApp1/ConsoleApp1.csproj
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- Exe
- net10.0
- enable
- enable
-
-
-
diff --git a/works/С#-lab/lab-02/ConsoleApp1/Program.cs b/works/С#-lab/lab-02/ConsoleApp1/Program.cs
deleted file mode 100644
index 58416d3..0000000
--- a/works/С#-lab/lab-02/ConsoleApp1/Program.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-/* less-1.1
-int damage = int.Parse(Console.ReadLine());
-int lvl = int.Parse(Console.ReadLine());
-
-int totalDamage = damage + (lvl * 5);
-
-Console.WriteLine($"=== Прокачка покемона === \n ---- {totalDamage} ----");
-*/
-
-/* less-1.2
-int balanceTran = 1500;
-int potionCost = 200;
-
-int amountPotion = int.Parse(Console.ReadLine());
-int result = amountPotion * potionCost;
-Console.WriteLine(result);
-*/
-
-/* less 2.1
-int hp = int.Parse(Console.ReadLine());
-
-if (hp <= 0)
-{
- Console.WriteLine("Покемон потерял сознание! Верните его в покебол.");
-}
-
-else if (1 <= hp && hp <= 20)
-{
- Console.WriteLine("Критическое состояние! Срочно используйте зелье!");
-}
-else if (21 <= hp && hp <= 50)
-{
- Console.WriteLine("Покемон ранен, будьте осторожны");
-}
-else
-{
- Console.WriteLine("Покемон полон сил и готов к бою!");
-}
-*/
-
-Console.WriteLine("1: \n2: \n3: \n4");
-
-int num = int.Parse(Console.ReadLine());
-
-switch(num)
-{
- case 1 :
- Console.WriteLine("Покемон наносит быстрый удар");
- break;
- case 2 :
- Console.WriteLine("Вы открыли сумку и применили Зелье Лечения.");
- break;
- case 3 :
- Console.WriteLine("Вы отозвали покемона и выпустили нового!");
- break;
- case 4 :
- Console.WriteLine("Вы успешно сбежали из боя!");
- break;
- default:
- Console.WriteLine("Неизвестная команда! Вы пропустили ход.");
- break;
-}
\ No newline at end of file
diff --git a/works/С#-lab/lab-02/Lab-02.sln b/works/С#-lab/lab-02/Lab-02.sln
index 8845e59..5c4ecaf 100644
--- a/works/С#-lab/lab-02/Lab-02.sln
+++ b/works/С#-lab/lab-02/Lab-02.sln
@@ -1,6 +1,9 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{461029EE-A0DE-41B2-A4B9-6F336449D66F}"
+# Visual Studio Version 17
+VisualStudioVersion = 17.14.37531.7 d17.14
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lab-02", "lab-02\lab-02.csproj", "{1618B996-07F0-4089-B793-2F90075E414D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -8,9 +11,15 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {461029EE-A0DE-41B2-A4B9-6F336449D66F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {461029EE-A0DE-41B2-A4B9-6F336449D66F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {461029EE-A0DE-41B2-A4B9-6F336449D66F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {461029EE-A0DE-41B2-A4B9-6F336449D66F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1618B996-07F0-4089-B793-2F90075E414D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1618B996-07F0-4089-B793-2F90075E414D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1618B996-07F0-4089-B793-2F90075E414D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1618B996-07F0-4089-B793-2F90075E414D}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {58730CCD-9E8F-4FE4-8515-0B652CA00D3C}
EndGlobalSection
EndGlobal
diff --git a/works/С#-lab/lab-02/Readme.md b/works/С#-lab/lab-02/Readme.md
new file mode 100644
index 0000000..e69de29
diff --git a/works/С#-lab/lab-02/lab-02/Program.cs b/works/С#-lab/lab-02/lab-02/Program.cs
new file mode 100644
index 0000000..84037de
--- /dev/null
+++ b/works/С#-lab/lab-02/lab-02/Program.cs
@@ -0,0 +1,70 @@
+//// task 1.1
+//Console.WriteLine("=== Прокачка покемона ===");
+
+//Console.Write("Базовая атака: ");
+//int damage = int.Parse(Console.ReadLine());
+
+//Console.Write("Уровень: ");
+//int lvl = int.Parse(Console.ReadLine());
+
+//int totalDamage = damage + (lvl * 5);
+
+//Console.WriteLine($"----- Итоговая атака -----\n----- {totalDamage} -----");
+
+
+//// task 1.2
+//int balanceTrainer = 1500;
+//int potionCost = 200;
+//Console.WriteLine($"Баланс тренера: {balanceTrainer}");
+
+//Console.Write("Кол-во зелей: ");
+//int amountPotion = int.Parse(Console.ReadLine());
+//balanceTrainer -= amountPotion * potionCost;
+//Console.WriteLine(balanceTrainer);
+
+
+//// task 2.1
+//int hp = int.Parse(Console.ReadLine());
+
+//if (hp <= 0)
+//{
+// Console.WriteLine("Покемон потерял сознание! Верните его в покебол.");
+//}
+
+//else if (1 <= hp && hp <= 20)
+//{
+// Console.WriteLine("Критическое состояние! Срочно используйте зелье!");
+//}
+//else if (21 <= hp && hp <= 50)
+//{
+// Console.WriteLine("Покемон ранен, будьте осторожны");
+//}
+//else
+//{
+// Console.WriteLine("Покемон полон сил и готов к бою!");
+//}
+
+//// task 2.2
+//Console.WriteLine("1:— Атака \n2:— Инвентарь \n3:— Сменить покемона \n4:— Побег");
+
+//Console.Write("Выбор действий:");
+//int num = int.Parse(Console.ReadLine());
+
+//switch (num)
+//{
+// case 1:
+// Console.WriteLine("Покемон наносит быстрый удар");
+// break;
+// case 2:
+// Console.WriteLine("Вы открыли сумку и применили Зелье Лечения.");
+// break;
+// case 3:
+// Console.WriteLine("Вы отозвали покемона и выпустили нового!");
+// break;
+// case 4:
+// Console.WriteLine("Вы успешно сбежали из боя!");
+// break;
+// default:
+// Console.WriteLine("Неизвестная команда! Вы пропустили ход.");
+// break;
+//}
\ No newline at end of file
diff --git a/works/С#-lab/lab-02/lab-02/lab-02.csproj b/works/С#-lab/lab-02/lab-02/lab-02.csproj
new file mode 100644
index 0000000..3da7e3a
--- /dev/null
+++ b/works/С#-lab/lab-02/lab-02/lab-02.csproj
@@ -0,0 +1,11 @@
+
+
+
+ Exe
+ net9.0
+ lab_02
+ enable
+ enable
+
+
+