Добавил работы

This commit is contained in:
2026-11-26 11:07:33 +03:00
parent aa5382dfc3
commit 8a589cbbc1
152 changed files with 2945 additions and 460 deletions
+16
View File
@@ -0,0 +1,16 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex1", "ex1\ex1.csproj", "{31C90A0C-36C8-4395-B58E-0A752E11FF73}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{31C90A0C-36C8-4395-B58E-0A752E11FF73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{31C90A0C-36C8-4395-B58E-0A752E11FF73}.Debug|Any CPU.Build.0 = Debug|Any CPU
{31C90A0C-36C8-4395-B58E-0A752E11FF73}.Release|Any CPU.ActiveCfg = Release|Any CPU
{31C90A0C-36C8-4395-B58E-0A752E11FF73}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
+12
View File
@@ -0,0 +1,12 @@
string[] activeTeam = new string[3];
Console.WriteLine("=== РЕГИСТРАЦИЯ КОМАНДЫ ===\n");
for (int i = 0; i < activeTeam.Length; i++)
{
Console.Write($"Введите имя покемона №{i + 1}: ");
activeTeam[i] = Console.ReadLine();
}
Console.WriteLine("--- Ваша команда на этот бой ---\n");
Console.WriteLine($"№1: {activeTeam[0]}");
Console.WriteLine($"№2: {activeTeam[1]}");
Console.WriteLine($"№3: {activeTeam[2]}");
+11
View File
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>ConsoleApp2</RootNamespace>
</PropertyGroup>
</Project>