diff --git a/works/Charp/lab-05/.idea/.idea.lab05/.idea/.gitignore b/works/Charp/lab-05/.idea/.idea.lab05/.idea/.gitignore new file mode 100644 index 0000000..db3d098 --- /dev/null +++ b/works/Charp/lab-05/.idea/.idea.lab05/.idea/.gitignore @@ -0,0 +1,15 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Rider ignored files +/modules.xml +/contentModel.xml +/projectSettingsUpdater.xml +/.idea.lab05.iml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/works/Charp/lab-05/.idea/.idea.lab05/.idea/.name b/works/Charp/lab-05/.idea/.idea.lab05/.idea/.name new file mode 100644 index 0000000..c23f900 --- /dev/null +++ b/works/Charp/lab-05/.idea/.idea.lab05/.idea/.name @@ -0,0 +1 @@ +lab05 \ No newline at end of file diff --git a/works/Charp/lab-05/.idea/.idea.lab05/.idea/encodings.xml b/works/Charp/lab-05/.idea/.idea.lab05/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/works/Charp/lab-05/.idea/.idea.lab05/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/works/Charp/lab-05/.idea/.idea.lab05/.idea/indexLayout.xml b/works/Charp/lab-05/.idea/.idea.lab05/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/works/Charp/lab-05/.idea/.idea.lab05/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/works/Charp/lab-05/.idea/.idea.lab05/.idea/vcs.xml b/works/Charp/lab-05/.idea/.idea.lab05/.idea/vcs.xml new file mode 100644 index 0000000..def3818 --- /dev/null +++ b/works/Charp/lab-05/.idea/.idea.lab05/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/works/Charp/lab-05/Readme.md b/works/Charp/lab-05/Readme.md new file mode 100644 index 0000000..83be1f9 --- /dev/null +++ b/works/Charp/lab-05/Readme.md @@ -0,0 +1,79 @@ +# Лабораторная работа №5 +--- + +## Ключевой код +```csharp +Console.WriteLine("=== ЗАДАНИЕ 1. ==="); +int pokemonHp = 20; +Console.WriteLine("=== ПОКЕЦЕНТР: ЛЕЧЕНИЕ ==="); +Console.WriteLine($"Здоровье до лечения: {pokemonHp}."); +static void HealPokemon(ref int pokemonHp) +{ + pokemonHp += 80; + Console.WriteLine("[Покецентр] Покемон полностью здоров! Восстановлено 80 HP."); +} +HealPokemon(ref pokemonHp); +Console.WriteLine($"Здоровье после лечения: {pokemonHp}."); + +Console.WriteLine("\n=== ЗАДАНИЕ 2. ==="); +Console.WriteLine("=== ИССЛЕДОВАНИЕ ЛОКАЦИИ ==="); +Console.WriteLine($"Вы зашли в высокую траву..."); + +static void SearchBushes(out string foundPokemon, out int pokemonLevel) +{ + foundPokemon = "Пикачу"; + pokemonLevel = new Random().Next(1, 15); +} + +SearchBushes(out string pokemonName, out int level); +Console.WriteLine($"Шорох! Из кустов появляется дикий {pokemonName}, (Уровень: {level})"); + +Console.WriteLine("\n=== ЗАДАНИЕ 3. ==="); +static void RegisterTournament(in double difficulty, params string[] participants) +{ + // difficulty = 2.0; // компилятор выдаст ошибку + + Console.WriteLine($"Коэффициент стадиона: {difficulty}"); + Console.WriteLine("Список участников:"); + + foreach (string pokemon in participants) + { + Console.WriteLine($"* {pokemon}"); + } +} +Console.WriteLine("=== РЕГИСТРАЦИЯ НА ТУРНИР ==="); +RegisterTournament(1.5, "Бульбазавр", "Чармандер"); +Console.WriteLine("-----------------------------"); +RegisterTournament(1.5, "Сквиртл", "Пикачу", "Псайдак", "Мяут"); +Console.WriteLine("============================="); +``` + +## ВЫВОД: + +=== ЗАДАНИЕ 1. === +=== ПОКЕЦЕНТР: ЛЕЧЕНИЕ === +Здоровье до лечения: 20. +[Покецентр] Покемон полностью здоров! Восстановлено 80 HP. +Здоровье после лечения: 100. + +=== ЗАДАНИЕ 2. === +=== ИССЛЕДОВАНИЕ ЛОКАЦИИ === +Вы зашли в высокую траву... +Шорох! Из кустов появляется дикий Пикачу, (Уровень: 9) + +=== ЗАДАНИЕ 3. === +=== РЕГИСТРАЦИЯ НА ТУРНИР === +Коэффициент стадиона: 1,5 +Список участников: +* Бульбазавр +* Чармандер +----------------------------- +Коэффициент стадиона: 1,5 +Список участников: +* Сквиртл +* Пикачу +* Псайдак +* Мяут +============================= + +Process finished with exit code 0. diff --git a/works/Charp/lab-05/lab05.sln b/works/Charp/lab-05/lab05.sln new file mode 100644 index 0000000..c162d04 --- /dev/null +++ b/works/Charp/lab-05/lab05.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lab05", "lab05\lab05.csproj", "{10E44936-CD7A-459C-ABBB-55E03B1151B2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {10E44936-CD7A-459C-ABBB-55E03B1151B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {10E44936-CD7A-459C-ABBB-55E03B1151B2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {10E44936-CD7A-459C-ABBB-55E03B1151B2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {10E44936-CD7A-459C-ABBB-55E03B1151B2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/works/Charp/lab-05/lab05/Program.cs b/works/Charp/lab-05/lab05/Program.cs new file mode 100644 index 0000000..0d47b45 --- /dev/null +++ b/works/Charp/lab-05/lab05/Program.cs @@ -0,0 +1,3 @@ +zя + + diff --git a/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.deps.json b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.deps.json new file mode 100644 index 0000000..5fb2e1d --- /dev/null +++ b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v10.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v10.0": { + "lab05/1.0.0": { + "runtime": { + "lab05.dll": {} + } + } + } + }, + "libraries": { + "lab05/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.dll b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.dll new file mode 100644 index 0000000..88467a1 Binary files /dev/null and b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.dll differ diff --git a/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.exe b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.exe new file mode 100644 index 0000000..ad13855 Binary files /dev/null and b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.exe differ diff --git a/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.pdb b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.pdb new file mode 100644 index 0000000..70596ac Binary files /dev/null and b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.pdb differ diff --git a/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.runtimeconfig.json b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.runtimeconfig.json new file mode 100644 index 0000000..01e4519 --- /dev/null +++ b/works/Charp/lab-05/lab05/bin/Debug/net10.0/lab05.runtimeconfig.json @@ -0,0 +1,12 @@ +{ + "runtimeOptions": { + "tfm": "net10.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "10.0.0" + }, + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/works/Charp/lab-05/lab05/lab05.csproj b/works/Charp/lab-05/lab05/lab05.csproj new file mode 100644 index 0000000..6c1dc92 --- /dev/null +++ b/works/Charp/lab-05/lab05/lab05.csproj @@ -0,0 +1,10 @@ + + + + Exe + net10.0 + enable + enable + + + diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs b/works/Charp/lab-05/lab05/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs new file mode 100644 index 0000000..925b135 --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")] diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/apphost.exe b/works/Charp/lab-05/lab05/obj/Debug/net10.0/apphost.exe new file mode 100644 index 0000000..ad13855 Binary files /dev/null and b/works/Charp/lab-05/lab05/obj/Debug/net10.0/apphost.exe differ diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.AssemblyInfo.cs b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.AssemblyInfo.cs new file mode 100644 index 0000000..e68b97b --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("lab05")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+54e3f5c046ac59e48184b09e90c891762d1767f1")] +[assembly: System.Reflection.AssemblyProductAttribute("lab05")] +[assembly: System.Reflection.AssemblyTitleAttribute("lab05")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.AssemblyInfoInputs.cache b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.AssemblyInfoInputs.cache new file mode 100644 index 0000000..7df9c57 --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +ddf6cbce46764d46c3bcf914dbe4a8290a80da6e6fe01d77604bd3dfde2fe542 diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.GeneratedMSBuildEditorConfig.editorconfig b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..ed623f4 --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,18 @@ +is_global = true +build_property.TargetFramework = net10.0 +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v10.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = lab05 +build_property.ProjectDir = Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 10.0 +build_property.EnableCodeStyleSeverity = diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.GlobalUsings.g.cs b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.GlobalUsings.g.cs new file mode 100644 index 0000000..d12bcbc --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using System; +global using System.Collections.Generic; +global using System.IO; +global using System.Linq; +global using System.Net.Http; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.assets.cache b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.assets.cache new file mode 100644 index 0000000..ab47ea5 Binary files /dev/null and b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.assets.cache differ diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.csproj.CoreCompileInputs.cache b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..fa705cb --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +dd2ba2dba312e42e1ea20d6351f45df0e1de09fed16f60f68c3143c227e82b5c diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.csproj.FileListAbsolute.txt b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..dad5361 --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.csproj.FileListAbsolute.txt @@ -0,0 +1,42 @@ +Z:\prog-belyaev\CSharp\lab05\lab05\bin\Debug\net10.0\lab05.exe +Z:\prog-belyaev\CSharp\lab05\lab05\bin\Debug\net10.0\lab05.deps.json +Z:\prog-belyaev\CSharp\lab05\lab05\bin\Debug\net10.0\lab05.runtimeconfig.json +Z:\prog-belyaev\CSharp\lab05\lab05\bin\Debug\net10.0\lab05.dll +Z:\prog-belyaev\CSharp\lab05\lab05\bin\Debug\net10.0\lab05.pdb +Z:\prog-belyaev\CSharp\lab05\lab05\obj\Debug\net10.0\lab05.GeneratedMSBuildEditorConfig.editorconfig +Z:\prog-belyaev\CSharp\lab05\lab05\obj\Debug\net10.0\lab05.AssemblyInfoInputs.cache +Z:\prog-belyaev\CSharp\lab05\lab05\obj\Debug\net10.0\lab05.AssemblyInfo.cs +Z:\prog-belyaev\CSharp\lab05\lab05\obj\Debug\net10.0\lab05.csproj.CoreCompileInputs.cache +Z:\prog-belyaev\CSharp\lab05\lab05\obj\Debug\net10.0\lab05.dll +Z:\prog-belyaev\CSharp\lab05\lab05\obj\Debug\net10.0\refint\lab05.dll +Z:\prog-belyaev\CSharp\lab05\lab05\obj\Debug\net10.0\lab05.pdb +Z:\prog-belyaev\CSharp\lab05\lab05\obj\Debug\net10.0\lab05.genruntimeconfig.cache +Z:\prog-belyaev\CSharp\lab05\lab05\obj\Debug\net10.0\ref\lab05.dll +Z:\prog-belyaev\CSharp\lab-05\lab05\bin\Debug\net10.0\lab05.exe +Z:\prog-belyaev\CSharp\lab-05\lab05\bin\Debug\net10.0\lab05.deps.json +Z:\prog-belyaev\CSharp\lab-05\lab05\bin\Debug\net10.0\lab05.runtimeconfig.json +Z:\prog-belyaev\CSharp\lab-05\lab05\bin\Debug\net10.0\lab05.dll +Z:\prog-belyaev\CSharp\lab-05\lab05\bin\Debug\net10.0\lab05.pdb +Z:\prog-belyaev\CSharp\lab-05\lab05\obj\Debug\net10.0\lab05.GeneratedMSBuildEditorConfig.editorconfig +Z:\prog-belyaev\CSharp\lab-05\lab05\obj\Debug\net10.0\lab05.AssemblyInfoInputs.cache +Z:\prog-belyaev\CSharp\lab-05\lab05\obj\Debug\net10.0\lab05.AssemblyInfo.cs +Z:\prog-belyaev\CSharp\lab-05\lab05\obj\Debug\net10.0\lab05.csproj.CoreCompileInputs.cache +Z:\prog-belyaev\CSharp\lab-05\lab05\obj\Debug\net10.0\lab05.dll +Z:\prog-belyaev\CSharp\lab-05\lab05\obj\Debug\net10.0\refint\lab05.dll +Z:\prog-belyaev\CSharp\lab-05\lab05\obj\Debug\net10.0\lab05.pdb +Z:\prog-belyaev\CSharp\lab-05\lab05\obj\Debug\net10.0\lab05.genruntimeconfig.cache +Z:\prog-belyaev\CSharp\lab-05\lab05\obj\Debug\net10.0\ref\lab05.dll +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\bin\Debug\net10.0\lab05.exe +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\bin\Debug\net10.0\lab05.deps.json +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\bin\Debug\net10.0\lab05.runtimeconfig.json +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\bin\Debug\net10.0\lab05.dll +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\bin\Debug\net10.0\lab05.pdb +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\obj\Debug\net10.0\lab05.GeneratedMSBuildEditorConfig.editorconfig +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\obj\Debug\net10.0\lab05.AssemblyInfoInputs.cache +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\obj\Debug\net10.0\lab05.AssemblyInfo.cs +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\obj\Debug\net10.0\lab05.csproj.CoreCompileInputs.cache +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\obj\Debug\net10.0\lab05.dll +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\obj\Debug\net10.0\refint\lab05.dll +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\obj\Debug\net10.0\lab05.pdb +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\obj\Debug\net10.0\lab05.genruntimeconfig.cache +Z:\чето\Prog-Samoilov\works\Charp\lab-05\lab05\obj\Debug\net10.0\ref\lab05.dll diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.dll b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.dll new file mode 100644 index 0000000..88467a1 Binary files /dev/null and b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.dll differ diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.genruntimeconfig.cache b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.genruntimeconfig.cache new file mode 100644 index 0000000..8ac2e91 --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.genruntimeconfig.cache @@ -0,0 +1 @@ +52b169826aba7737a11178c980f037604b078a04ced15412bb4ee3a72648ce1d diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.pdb b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.pdb new file mode 100644 index 0000000..70596ac Binary files /dev/null and b/works/Charp/lab-05/lab05/obj/Debug/net10.0/lab05.pdb differ diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/ref/lab05.dll b/works/Charp/lab-05/lab05/obj/Debug/net10.0/ref/lab05.dll new file mode 100644 index 0000000..997febf Binary files /dev/null and b/works/Charp/lab-05/lab05/obj/Debug/net10.0/ref/lab05.dll differ diff --git a/works/Charp/lab-05/lab05/obj/Debug/net10.0/refint/lab05.dll b/works/Charp/lab-05/lab05/obj/Debug/net10.0/refint/lab05.dll new file mode 100644 index 0000000..997febf Binary files /dev/null and b/works/Charp/lab-05/lab05/obj/Debug/net10.0/refint/lab05.dll differ diff --git a/works/Charp/lab-05/lab05/obj/lab05.csproj.nuget.dgspec.json b/works/Charp/lab-05/lab05/obj/lab05.csproj.nuget.dgspec.json new file mode 100644 index 0000000..2f6b160 --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/lab05.csproj.nuget.dgspec.json @@ -0,0 +1,343 @@ +{ + "format": 1, + "restore": { + "Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\lab05.csproj": {} + }, + "projects": { + "Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\lab05.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\lab05.csproj", + "projectName": "lab05", + "projectPath": "Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\lab05.csproj", + "packagesPath": "C:\\Users\\228p\\.nuget\\packages\\", + "outputPath": "Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\228p\\AppData\\Roaming\\NuGet\\NuGet.Config" + ], + "originalTargetFrameworks": [ + "net10.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net10.0": { + "framework": "net10.0", + "targetAlias": "net10.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "10.0.400" + }, + "frameworks": { + "net10.0": { + "framework": "net10.0", + "targetAlias": "net10.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400/PortableRuntimeIdentifierGraph.json", + "packagesToPrune": { + "Microsoft.CSharp": "(,4.7.32767]", + "Microsoft.VisualBasic": "(,10.4.32767]", + "Microsoft.Win32.Primitives": "(,4.3.32767]", + "Microsoft.Win32.Registry": "(,5.0.32767]", + "runtime.any.System.Collections": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.any.System.Globalization": "(,4.3.32767]", + "runtime.any.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.any.System.IO": "(,4.3.32767]", + "runtime.any.System.Reflection": "(,4.3.32767]", + "runtime.any.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.any.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.any.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.any.System.Runtime": "(,4.3.32767]", + "runtime.any.System.Runtime.Handles": "(,4.3.32767]", + "runtime.any.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.any.System.Text.Encoding": "(,4.3.32767]", + "runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.any.System.Threading.Tasks": "(,4.3.32767]", + "runtime.any.System.Threading.Timer": "(,4.3.32767]", + "runtime.aot.System.Collections": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.aot.System.Globalization": "(,4.3.32767]", + "runtime.aot.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.aot.System.IO": "(,4.3.32767]", + "runtime.aot.System.Reflection": "(,4.3.32767]", + "runtime.aot.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.aot.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.aot.System.Runtime": "(,4.3.32767]", + "runtime.aot.System.Runtime.Handles": "(,4.3.32767]", + "runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.aot.System.Threading.Tasks": "(,4.3.32767]", + "runtime.aot.System.Threading.Timer": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.unix.System.Console": "(,4.3.32767]", + "runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.unix.System.IO.FileSystem": "(,4.3.32767]", + "runtime.unix.System.Net.Primitives": "(,4.3.32767]", + "runtime.unix.System.Net.Sockets": "(,4.3.32767]", + "runtime.unix.System.Private.Uri": "(,4.3.32767]", + "runtime.unix.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.win.System.Console": "(,4.3.32767]", + "runtime.win.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.win.System.IO.FileSystem": "(,4.3.32767]", + "runtime.win.System.Net.Primitives": "(,4.3.32767]", + "runtime.win.System.Net.Sockets": "(,4.3.32767]", + "runtime.win.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7.System.Private.Uri": "(,4.3.32767]", + "runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]", + "System.AppContext": "(,4.3.32767]", + "System.Buffers": "(,5.0.32767]", + "System.Collections": "(,4.3.32767]", + "System.Collections.Concurrent": "(,4.3.32767]", + "System.Collections.Immutable": "(,10.0.32767]", + "System.Collections.NonGeneric": "(,4.3.32767]", + "System.Collections.Specialized": "(,4.3.32767]", + "System.ComponentModel": "(,4.3.32767]", + "System.ComponentModel.Annotations": "(,4.3.32767]", + "System.ComponentModel.EventBasedAsync": "(,4.3.32767]", + "System.ComponentModel.Primitives": "(,4.3.32767]", + "System.ComponentModel.TypeConverter": "(,4.3.32767]", + "System.Console": "(,4.3.32767]", + "System.Data.Common": "(,4.3.32767]", + "System.Data.DataSetExtensions": "(,4.4.32767]", + "System.Diagnostics.Contracts": "(,4.3.32767]", + "System.Diagnostics.Debug": "(,4.3.32767]", + "System.Diagnostics.DiagnosticSource": "(,10.0.32767]", + "System.Diagnostics.FileVersionInfo": "(,4.3.32767]", + "System.Diagnostics.Process": "(,4.3.32767]", + "System.Diagnostics.StackTrace": "(,4.3.32767]", + "System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]", + "System.Diagnostics.Tools": "(,4.3.32767]", + "System.Diagnostics.TraceSource": "(,4.3.32767]", + "System.Diagnostics.Tracing": "(,4.3.32767]", + "System.Drawing.Primitives": "(,4.3.32767]", + "System.Dynamic.Runtime": "(,4.3.32767]", + "System.Formats.Asn1": "(,10.0.32767]", + "System.Formats.Tar": "(,10.0.32767]", + "System.Globalization": "(,4.3.32767]", + "System.Globalization.Calendars": "(,4.3.32767]", + "System.Globalization.Extensions": "(,4.3.32767]", + "System.IO": "(,4.3.32767]", + "System.IO.Compression": "(,4.3.32767]", + "System.IO.Compression.ZipFile": "(,4.3.32767]", + "System.IO.FileSystem": "(,4.3.32767]", + "System.IO.FileSystem.AccessControl": "(,4.4.32767]", + "System.IO.FileSystem.DriveInfo": "(,4.3.32767]", + "System.IO.FileSystem.Primitives": "(,4.3.32767]", + "System.IO.FileSystem.Watcher": "(,4.3.32767]", + "System.IO.IsolatedStorage": "(,4.3.32767]", + "System.IO.MemoryMappedFiles": "(,4.3.32767]", + "System.IO.Pipelines": "(,10.0.32767]", + "System.IO.Pipes": "(,4.3.32767]", + "System.IO.Pipes.AccessControl": "(,5.0.32767]", + "System.IO.UnmanagedMemoryStream": "(,4.3.32767]", + "System.Linq": "(,4.3.32767]", + "System.Linq.AsyncEnumerable": "(,10.0.32767]", + "System.Linq.Expressions": "(,4.3.32767]", + "System.Linq.Parallel": "(,4.3.32767]", + "System.Linq.Queryable": "(,4.3.32767]", + "System.Memory": "(,5.0.32767]", + "System.Net.Http": "(,4.3.32767]", + "System.Net.Http.Json": "(,10.0.32767]", + "System.Net.NameResolution": "(,4.3.32767]", + "System.Net.NetworkInformation": "(,4.3.32767]", + "System.Net.Ping": "(,4.3.32767]", + "System.Net.Primitives": "(,4.3.32767]", + "System.Net.Requests": "(,4.3.32767]", + "System.Net.Security": "(,4.3.32767]", + "System.Net.ServerSentEvents": "(,10.0.32767]", + "System.Net.Sockets": "(,4.3.32767]", + "System.Net.WebHeaderCollection": "(,4.3.32767]", + "System.Net.WebSockets": "(,4.3.32767]", + "System.Net.WebSockets.Client": "(,4.3.32767]", + "System.Numerics.Vectors": "(,5.0.32767]", + "System.ObjectModel": "(,4.3.32767]", + "System.Private.DataContractSerialization": "(,4.3.32767]", + "System.Private.Uri": "(,4.3.32767]", + "System.Reflection": "(,4.3.32767]", + "System.Reflection.DispatchProxy": "(,6.0.32767]", + "System.Reflection.Emit": "(,4.7.32767]", + "System.Reflection.Emit.ILGeneration": "(,4.7.32767]", + "System.Reflection.Emit.Lightweight": "(,4.7.32767]", + "System.Reflection.Extensions": "(,4.3.32767]", + "System.Reflection.Metadata": "(,10.0.32767]", + "System.Reflection.Primitives": "(,4.3.32767]", + "System.Reflection.TypeExtensions": "(,4.3.32767]", + "System.Resources.Reader": "(,4.3.32767]", + "System.Resources.ResourceManager": "(,4.3.32767]", + "System.Resources.Writer": "(,4.3.32767]", + "System.Runtime": "(,4.3.32767]", + "System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]", + "System.Runtime.CompilerServices.VisualC": "(,4.3.32767]", + "System.Runtime.Extensions": "(,4.3.32767]", + "System.Runtime.Handles": "(,4.3.32767]", + "System.Runtime.InteropServices": "(,4.3.32767]", + "System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]", + "System.Runtime.Loader": "(,4.3.32767]", + "System.Runtime.Numerics": "(,4.3.32767]", + "System.Runtime.Serialization.Formatters": "(,4.3.32767]", + "System.Runtime.Serialization.Json": "(,4.3.32767]", + "System.Runtime.Serialization.Primitives": "(,4.3.32767]", + "System.Runtime.Serialization.Xml": "(,4.3.32767]", + "System.Security.AccessControl": "(,6.0.32767]", + "System.Security.Claims": "(,4.3.32767]", + "System.Security.Cryptography.Algorithms": "(,4.3.32767]", + "System.Security.Cryptography.Cng": "(,5.0.32767]", + "System.Security.Cryptography.Csp": "(,4.3.32767]", + "System.Security.Cryptography.Encoding": "(,4.3.32767]", + "System.Security.Cryptography.OpenSsl": "(,5.0.32767]", + "System.Security.Cryptography.Primitives": "(,4.3.32767]", + "System.Security.Cryptography.X509Certificates": "(,4.3.32767]", + "System.Security.Principal": "(,4.3.32767]", + "System.Security.Principal.Windows": "(,5.0.32767]", + "System.Security.SecureString": "(,4.3.32767]", + "System.Text.Encoding": "(,4.3.32767]", + "System.Text.Encoding.CodePages": "(,10.0.32767]", + "System.Text.Encoding.Extensions": "(,4.3.32767]", + "System.Text.Encodings.Web": "(,10.0.32767]", + "System.Text.Json": "(,10.0.32767]", + "System.Text.RegularExpressions": "(,4.3.32767]", + "System.Threading": "(,4.3.32767]", + "System.Threading.AccessControl": "(,10.0.32767]", + "System.Threading.Channels": "(,10.0.32767]", + "System.Threading.Overlapped": "(,4.3.32767]", + "System.Threading.Tasks": "(,4.3.32767]", + "System.Threading.Tasks.Dataflow": "(,10.0.32767]", + "System.Threading.Tasks.Extensions": "(,5.0.32767]", + "System.Threading.Tasks.Parallel": "(,4.3.32767]", + "System.Threading.Thread": "(,4.3.32767]", + "System.Threading.ThreadPool": "(,4.3.32767]", + "System.Threading.Timer": "(,4.3.32767]", + "System.ValueTuple": "(,4.5.32767]", + "System.Xml.ReaderWriter": "(,4.3.32767]", + "System.Xml.XDocument": "(,4.3.32767]", + "System.Xml.XmlDocument": "(,4.3.32767]", + "System.Xml.XmlSerializer": "(,4.3.32767]", + "System.Xml.XPath": "(,4.3.32767]", + "System.Xml.XPath.XDocument": "(,5.0.32767]" + } + } + } + } + } +} \ No newline at end of file diff --git a/works/Charp/lab-05/lab05/obj/lab05.csproj.nuget.g.props b/works/Charp/lab-05/lab05/obj/lab05.csproj.nuget.g.props new file mode 100644 index 0000000..17e96a2 --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/lab05.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\228p\.nuget\packages\ + PackageReference + 7.0.0 + + + + + \ No newline at end of file diff --git a/works/Charp/lab-05/lab05/obj/lab05.csproj.nuget.g.targets b/works/Charp/lab-05/lab05/obj/lab05.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/lab05.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/works/Charp/lab-05/lab05/obj/project.assets.json b/works/Charp/lab-05/lab05/obj/project.assets.json new file mode 100644 index 0000000..4b003de --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/project.assets.json @@ -0,0 +1,348 @@ +{ + "version": 4, + "targets": { + "net10.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net10.0": [] + }, + "packageFolders": { + "C:\\Users\\228p\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\lab05.csproj", + "projectName": "lab05", + "projectPath": "Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\lab05.csproj", + "packagesPath": "C:\\Users\\228p\\.nuget\\packages\\", + "outputPath": "Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\228p\\AppData\\Roaming\\NuGet\\NuGet.Config" + ], + "originalTargetFrameworks": [ + "net10.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net10.0": { + "framework": "net10.0", + "targetAlias": "net10.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "10.0.400" + }, + "frameworks": { + "net10.0": { + "framework": "net10.0", + "targetAlias": "net10.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400/PortableRuntimeIdentifierGraph.json", + "packagesToPrune": { + "Microsoft.CSharp": "(,4.7.32767]", + "Microsoft.VisualBasic": "(,10.4.32767]", + "Microsoft.Win32.Primitives": "(,4.3.32767]", + "Microsoft.Win32.Registry": "(,5.0.32767]", + "runtime.any.System.Collections": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.any.System.Globalization": "(,4.3.32767]", + "runtime.any.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.any.System.IO": "(,4.3.32767]", + "runtime.any.System.Reflection": "(,4.3.32767]", + "runtime.any.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.any.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.any.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.any.System.Runtime": "(,4.3.32767]", + "runtime.any.System.Runtime.Handles": "(,4.3.32767]", + "runtime.any.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.any.System.Text.Encoding": "(,4.3.32767]", + "runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.any.System.Threading.Tasks": "(,4.3.32767]", + "runtime.any.System.Threading.Timer": "(,4.3.32767]", + "runtime.aot.System.Collections": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.aot.System.Globalization": "(,4.3.32767]", + "runtime.aot.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.aot.System.IO": "(,4.3.32767]", + "runtime.aot.System.Reflection": "(,4.3.32767]", + "runtime.aot.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.aot.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.aot.System.Runtime": "(,4.3.32767]", + "runtime.aot.System.Runtime.Handles": "(,4.3.32767]", + "runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.aot.System.Threading.Tasks": "(,4.3.32767]", + "runtime.aot.System.Threading.Timer": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.unix.System.Console": "(,4.3.32767]", + "runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.unix.System.IO.FileSystem": "(,4.3.32767]", + "runtime.unix.System.Net.Primitives": "(,4.3.32767]", + "runtime.unix.System.Net.Sockets": "(,4.3.32767]", + "runtime.unix.System.Private.Uri": "(,4.3.32767]", + "runtime.unix.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.win.System.Console": "(,4.3.32767]", + "runtime.win.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.win.System.IO.FileSystem": "(,4.3.32767]", + "runtime.win.System.Net.Primitives": "(,4.3.32767]", + "runtime.win.System.Net.Sockets": "(,4.3.32767]", + "runtime.win.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7.System.Private.Uri": "(,4.3.32767]", + "runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]", + "System.AppContext": "(,4.3.32767]", + "System.Buffers": "(,5.0.32767]", + "System.Collections": "(,4.3.32767]", + "System.Collections.Concurrent": "(,4.3.32767]", + "System.Collections.Immutable": "(,10.0.32767]", + "System.Collections.NonGeneric": "(,4.3.32767]", + "System.Collections.Specialized": "(,4.3.32767]", + "System.ComponentModel": "(,4.3.32767]", + "System.ComponentModel.Annotations": "(,4.3.32767]", + "System.ComponentModel.EventBasedAsync": "(,4.3.32767]", + "System.ComponentModel.Primitives": "(,4.3.32767]", + "System.ComponentModel.TypeConverter": "(,4.3.32767]", + "System.Console": "(,4.3.32767]", + "System.Data.Common": "(,4.3.32767]", + "System.Data.DataSetExtensions": "(,4.4.32767]", + "System.Diagnostics.Contracts": "(,4.3.32767]", + "System.Diagnostics.Debug": "(,4.3.32767]", + "System.Diagnostics.DiagnosticSource": "(,10.0.32767]", + "System.Diagnostics.FileVersionInfo": "(,4.3.32767]", + "System.Diagnostics.Process": "(,4.3.32767]", + "System.Diagnostics.StackTrace": "(,4.3.32767]", + "System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]", + "System.Diagnostics.Tools": "(,4.3.32767]", + "System.Diagnostics.TraceSource": "(,4.3.32767]", + "System.Diagnostics.Tracing": "(,4.3.32767]", + "System.Drawing.Primitives": "(,4.3.32767]", + "System.Dynamic.Runtime": "(,4.3.32767]", + "System.Formats.Asn1": "(,10.0.32767]", + "System.Formats.Tar": "(,10.0.32767]", + "System.Globalization": "(,4.3.32767]", + "System.Globalization.Calendars": "(,4.3.32767]", + "System.Globalization.Extensions": "(,4.3.32767]", + "System.IO": "(,4.3.32767]", + "System.IO.Compression": "(,4.3.32767]", + "System.IO.Compression.ZipFile": "(,4.3.32767]", + "System.IO.FileSystem": "(,4.3.32767]", + "System.IO.FileSystem.AccessControl": "(,4.4.32767]", + "System.IO.FileSystem.DriveInfo": "(,4.3.32767]", + "System.IO.FileSystem.Primitives": "(,4.3.32767]", + "System.IO.FileSystem.Watcher": "(,4.3.32767]", + "System.IO.IsolatedStorage": "(,4.3.32767]", + "System.IO.MemoryMappedFiles": "(,4.3.32767]", + "System.IO.Pipelines": "(,10.0.32767]", + "System.IO.Pipes": "(,4.3.32767]", + "System.IO.Pipes.AccessControl": "(,5.0.32767]", + "System.IO.UnmanagedMemoryStream": "(,4.3.32767]", + "System.Linq": "(,4.3.32767]", + "System.Linq.AsyncEnumerable": "(,10.0.32767]", + "System.Linq.Expressions": "(,4.3.32767]", + "System.Linq.Parallel": "(,4.3.32767]", + "System.Linq.Queryable": "(,4.3.32767]", + "System.Memory": "(,5.0.32767]", + "System.Net.Http": "(,4.3.32767]", + "System.Net.Http.Json": "(,10.0.32767]", + "System.Net.NameResolution": "(,4.3.32767]", + "System.Net.NetworkInformation": "(,4.3.32767]", + "System.Net.Ping": "(,4.3.32767]", + "System.Net.Primitives": "(,4.3.32767]", + "System.Net.Requests": "(,4.3.32767]", + "System.Net.Security": "(,4.3.32767]", + "System.Net.ServerSentEvents": "(,10.0.32767]", + "System.Net.Sockets": "(,4.3.32767]", + "System.Net.WebHeaderCollection": "(,4.3.32767]", + "System.Net.WebSockets": "(,4.3.32767]", + "System.Net.WebSockets.Client": "(,4.3.32767]", + "System.Numerics.Vectors": "(,5.0.32767]", + "System.ObjectModel": "(,4.3.32767]", + "System.Private.DataContractSerialization": "(,4.3.32767]", + "System.Private.Uri": "(,4.3.32767]", + "System.Reflection": "(,4.3.32767]", + "System.Reflection.DispatchProxy": "(,6.0.32767]", + "System.Reflection.Emit": "(,4.7.32767]", + "System.Reflection.Emit.ILGeneration": "(,4.7.32767]", + "System.Reflection.Emit.Lightweight": "(,4.7.32767]", + "System.Reflection.Extensions": "(,4.3.32767]", + "System.Reflection.Metadata": "(,10.0.32767]", + "System.Reflection.Primitives": "(,4.3.32767]", + "System.Reflection.TypeExtensions": "(,4.3.32767]", + "System.Resources.Reader": "(,4.3.32767]", + "System.Resources.ResourceManager": "(,4.3.32767]", + "System.Resources.Writer": "(,4.3.32767]", + "System.Runtime": "(,4.3.32767]", + "System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]", + "System.Runtime.CompilerServices.VisualC": "(,4.3.32767]", + "System.Runtime.Extensions": "(,4.3.32767]", + "System.Runtime.Handles": "(,4.3.32767]", + "System.Runtime.InteropServices": "(,4.3.32767]", + "System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]", + "System.Runtime.Loader": "(,4.3.32767]", + "System.Runtime.Numerics": "(,4.3.32767]", + "System.Runtime.Serialization.Formatters": "(,4.3.32767]", + "System.Runtime.Serialization.Json": "(,4.3.32767]", + "System.Runtime.Serialization.Primitives": "(,4.3.32767]", + "System.Runtime.Serialization.Xml": "(,4.3.32767]", + "System.Security.AccessControl": "(,6.0.32767]", + "System.Security.Claims": "(,4.3.32767]", + "System.Security.Cryptography.Algorithms": "(,4.3.32767]", + "System.Security.Cryptography.Cng": "(,5.0.32767]", + "System.Security.Cryptography.Csp": "(,4.3.32767]", + "System.Security.Cryptography.Encoding": "(,4.3.32767]", + "System.Security.Cryptography.OpenSsl": "(,5.0.32767]", + "System.Security.Cryptography.Primitives": "(,4.3.32767]", + "System.Security.Cryptography.X509Certificates": "(,4.3.32767]", + "System.Security.Principal": "(,4.3.32767]", + "System.Security.Principal.Windows": "(,5.0.32767]", + "System.Security.SecureString": "(,4.3.32767]", + "System.Text.Encoding": "(,4.3.32767]", + "System.Text.Encoding.CodePages": "(,10.0.32767]", + "System.Text.Encoding.Extensions": "(,4.3.32767]", + "System.Text.Encodings.Web": "(,10.0.32767]", + "System.Text.Json": "(,10.0.32767]", + "System.Text.RegularExpressions": "(,4.3.32767]", + "System.Threading": "(,4.3.32767]", + "System.Threading.AccessControl": "(,10.0.32767]", + "System.Threading.Channels": "(,10.0.32767]", + "System.Threading.Overlapped": "(,4.3.32767]", + "System.Threading.Tasks": "(,4.3.32767]", + "System.Threading.Tasks.Dataflow": "(,10.0.32767]", + "System.Threading.Tasks.Extensions": "(,5.0.32767]", + "System.Threading.Tasks.Parallel": "(,4.3.32767]", + "System.Threading.Thread": "(,4.3.32767]", + "System.Threading.ThreadPool": "(,4.3.32767]", + "System.Threading.Timer": "(,4.3.32767]", + "System.ValueTuple": "(,4.5.32767]", + "System.Xml.ReaderWriter": "(,4.3.32767]", + "System.Xml.XDocument": "(,4.3.32767]", + "System.Xml.XmlDocument": "(,4.3.32767]", + "System.Xml.XmlSerializer": "(,4.3.32767]", + "System.Xml.XPath": "(,4.3.32767]", + "System.Xml.XPath.XDocument": "(,5.0.32767]" + } + } + } + } +} \ No newline at end of file diff --git a/works/Charp/lab-05/lab05/obj/project.nuget.cache b/works/Charp/lab-05/lab05/obj/project.nuget.cache new file mode 100644 index 0000000..3531a9a --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "nlMtf9CY75U=", + "success": true, + "projectFilePath": "Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\lab05.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/works/Charp/lab-05/lab05/obj/project.packagespec.json b/works/Charp/lab-05/lab05/obj/project.packagespec.json new file mode 100644 index 0000000..cefe42f --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/project.packagespec.json @@ -0,0 +1 @@ +"restore":{"projectUniqueName":"Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\lab05.csproj","projectName":"lab05","projectPath":"Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\lab05.csproj","packagesPath":"","outputPath":"Z:\\чето\\Prog-Samoilov\\works\\Charp\\lab-05\\lab05\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["net10.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net10.0":{"framework":"net10.0","targetAlias":"net10.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"all"},"SdkAnalysisLevel":"10.0.400"}"frameworks":{"net10.0":{"framework":"net10.0","targetAlias":"net10.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\10.0.400/PortableRuntimeIdentifierGraph.json","packagesToPrune":{"Microsoft.CSharp":"(,4.7.32767]","Microsoft.VisualBasic":"(,10.4.32767]","Microsoft.Win32.Primitives":"(,4.3.32767]","Microsoft.Win32.Registry":"(,5.0.32767]","runtime.any.System.Collections":"(,4.3.32767]","runtime.any.System.Diagnostics.Tools":"(,4.3.32767]","runtime.any.System.Diagnostics.Tracing":"(,4.3.32767]","runtime.any.System.Globalization":"(,4.3.32767]","runtime.any.System.Globalization.Calendars":"(,4.3.32767]","runtime.any.System.IO":"(,4.3.32767]","runtime.any.System.Reflection":"(,4.3.32767]","runtime.any.System.Reflection.Extensions":"(,4.3.32767]","runtime.any.System.Reflection.Primitives":"(,4.3.32767]","runtime.any.System.Resources.ResourceManager":"(,4.3.32767]","runtime.any.System.Runtime":"(,4.3.32767]","runtime.any.System.Runtime.Handles":"(,4.3.32767]","runtime.any.System.Runtime.InteropServices":"(,4.3.32767]","runtime.any.System.Text.Encoding":"(,4.3.32767]","runtime.any.System.Text.Encoding.Extensions":"(,4.3.32767]","runtime.any.System.Threading.Tasks":"(,4.3.32767]","runtime.any.System.Threading.Timer":"(,4.3.32767]","runtime.aot.System.Collections":"(,4.3.32767]","runtime.aot.System.Diagnostics.Tools":"(,4.3.32767]","runtime.aot.System.Diagnostics.Tracing":"(,4.3.32767]","runtime.aot.System.Globalization":"(,4.3.32767]","runtime.aot.System.Globalization.Calendars":"(,4.3.32767]","runtime.aot.System.IO":"(,4.3.32767]","runtime.aot.System.Reflection":"(,4.3.32767]","runtime.aot.System.Reflection.Extensions":"(,4.3.32767]","runtime.aot.System.Reflection.Primitives":"(,4.3.32767]","runtime.aot.System.Resources.ResourceManager":"(,4.3.32767]","runtime.aot.System.Runtime":"(,4.3.32767]","runtime.aot.System.Runtime.Handles":"(,4.3.32767]","runtime.aot.System.Runtime.InteropServices":"(,4.3.32767]","runtime.aot.System.Text.Encoding":"(,4.3.32767]","runtime.aot.System.Text.Encoding.Extensions":"(,4.3.32767]","runtime.aot.System.Threading.Tasks":"(,4.3.32767]","runtime.aot.System.Threading.Timer":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.debian.9-x64.runtime.native.System":"(,4.3.32767]","runtime.debian.9-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.debian.9-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.debian.9-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.fedora.27-x64.runtime.native.System":"(,4.3.32767]","runtime.fedora.27-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.fedora.27-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.fedora.27-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.fedora.28-x64.runtime.native.System":"(,4.3.32767]","runtime.fedora.28-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.fedora.28-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.fedora.28-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.opensuse.42.3-x64.runtime.native.System":"(,4.3.32767]","runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.opensuse.42.3-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.opensuse.42.3-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.ubuntu.18.04-x64.runtime.native.System":"(,4.3.32767]","runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.unix.Microsoft.Win32.Primitives":"(,4.3.32767]","runtime.unix.System.Console":"(,4.3.32767]","runtime.unix.System.Diagnostics.Debug":"(,4.3.32767]","runtime.unix.System.IO.FileSystem":"(,4.3.32767]","runtime.unix.System.Net.Primitives":"(,4.3.32767]","runtime.unix.System.Net.Sockets":"(,4.3.32767]","runtime.unix.System.Private.Uri":"(,4.3.32767]","runtime.unix.System.Runtime.Extensions":"(,4.3.32767]","runtime.win.Microsoft.Win32.Primitives":"(,4.3.32767]","runtime.win.System.Console":"(,4.3.32767]","runtime.win.System.Diagnostics.Debug":"(,4.3.32767]","runtime.win.System.IO.FileSystem":"(,4.3.32767]","runtime.win.System.Net.Primitives":"(,4.3.32767]","runtime.win.System.Net.Sockets":"(,4.3.32767]","runtime.win.System.Runtime.Extensions":"(,4.3.32767]","runtime.win10-arm-aot.runtime.native.System.IO.Compression":"(,4.0.32767]","runtime.win10-arm64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.win10-x64-aot.runtime.native.System.IO.Compression":"(,4.0.32767]","runtime.win10-x86-aot.runtime.native.System.IO.Compression":"(,4.0.32767]","runtime.win7-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.win7-x86.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.win7.System.Private.Uri":"(,4.3.32767]","runtime.win8-arm.runtime.native.System.IO.Compression":"(,4.3.32767]","System.AppContext":"(,4.3.32767]","System.Buffers":"(,5.0.32767]","System.Collections":"(,4.3.32767]","System.Collections.Concurrent":"(,4.3.32767]","System.Collections.Immutable":"(,10.0.32767]","System.Collections.NonGeneric":"(,4.3.32767]","System.Collections.Specialized":"(,4.3.32767]","System.ComponentModel":"(,4.3.32767]","System.ComponentModel.Annotations":"(,4.3.32767]","System.ComponentModel.EventBasedAsync":"(,4.3.32767]","System.ComponentModel.Primitives":"(,4.3.32767]","System.ComponentModel.TypeConverter":"(,4.3.32767]","System.Console":"(,4.3.32767]","System.Data.Common":"(,4.3.32767]","System.Data.DataSetExtensions":"(,4.4.32767]","System.Diagnostics.Contracts":"(,4.3.32767]","System.Diagnostics.Debug":"(,4.3.32767]","System.Diagnostics.DiagnosticSource":"(,10.0.32767]","System.Diagnostics.FileVersionInfo":"(,4.3.32767]","System.Diagnostics.Process":"(,4.3.32767]","System.Diagnostics.StackTrace":"(,4.3.32767]","System.Diagnostics.TextWriterTraceListener":"(,4.3.32767]","System.Diagnostics.Tools":"(,4.3.32767]","System.Diagnostics.TraceSource":"(,4.3.32767]","System.Diagnostics.Tracing":"(,4.3.32767]","System.Drawing.Primitives":"(,4.3.32767]","System.Dynamic.Runtime":"(,4.3.32767]","System.Formats.Asn1":"(,10.0.32767]","System.Formats.Tar":"(,10.0.32767]","System.Globalization":"(,4.3.32767]","System.Globalization.Calendars":"(,4.3.32767]","System.Globalization.Extensions":"(,4.3.32767]","System.IO":"(,4.3.32767]","System.IO.Compression":"(,4.3.32767]","System.IO.Compression.ZipFile":"(,4.3.32767]","System.IO.FileSystem":"(,4.3.32767]","System.IO.FileSystem.AccessControl":"(,4.4.32767]","System.IO.FileSystem.DriveInfo":"(,4.3.32767]","System.IO.FileSystem.Primitives":"(,4.3.32767]","System.IO.FileSystem.Watcher":"(,4.3.32767]","System.IO.IsolatedStorage":"(,4.3.32767]","System.IO.MemoryMappedFiles":"(,4.3.32767]","System.IO.Pipelines":"(,10.0.32767]","System.IO.Pipes":"(,4.3.32767]","System.IO.Pipes.AccessControl":"(,5.0.32767]","System.IO.UnmanagedMemoryStream":"(,4.3.32767]","System.Linq":"(,4.3.32767]","System.Linq.AsyncEnumerable":"(,10.0.32767]","System.Linq.Expressions":"(,4.3.32767]","System.Linq.Parallel":"(,4.3.32767]","System.Linq.Queryable":"(,4.3.32767]","System.Memory":"(,5.0.32767]","System.Net.Http":"(,4.3.32767]","System.Net.Http.Json":"(,10.0.32767]","System.Net.NameResolution":"(,4.3.32767]","System.Net.NetworkInformation":"(,4.3.32767]","System.Net.Ping":"(,4.3.32767]","System.Net.Primitives":"(,4.3.32767]","System.Net.Requests":"(,4.3.32767]","System.Net.Security":"(,4.3.32767]","System.Net.ServerSentEvents":"(,10.0.32767]","System.Net.Sockets":"(,4.3.32767]","System.Net.WebHeaderCollection":"(,4.3.32767]","System.Net.WebSockets":"(,4.3.32767]","System.Net.WebSockets.Client":"(,4.3.32767]","System.Numerics.Vectors":"(,5.0.32767]","System.ObjectModel":"(,4.3.32767]","System.Private.DataContractSerialization":"(,4.3.32767]","System.Private.Uri":"(,4.3.32767]","System.Reflection":"(,4.3.32767]","System.Reflection.DispatchProxy":"(,6.0.32767]","System.Reflection.Emit":"(,4.7.32767]","System.Reflection.Emit.ILGeneration":"(,4.7.32767]","System.Reflection.Emit.Lightweight":"(,4.7.32767]","System.Reflection.Extensions":"(,4.3.32767]","System.Reflection.Metadata":"(,10.0.32767]","System.Reflection.Primitives":"(,4.3.32767]","System.Reflection.TypeExtensions":"(,4.3.32767]","System.Resources.Reader":"(,4.3.32767]","System.Resources.ResourceManager":"(,4.3.32767]","System.Resources.Writer":"(,4.3.32767]","System.Runtime":"(,4.3.32767]","System.Runtime.CompilerServices.Unsafe":"(,7.0.32767]","System.Runtime.CompilerServices.VisualC":"(,4.3.32767]","System.Runtime.Extensions":"(,4.3.32767]","System.Runtime.Handles":"(,4.3.32767]","System.Runtime.InteropServices":"(,4.3.32767]","System.Runtime.InteropServices.RuntimeInformation":"(,4.3.32767]","System.Runtime.Loader":"(,4.3.32767]","System.Runtime.Numerics":"(,4.3.32767]","System.Runtime.Serialization.Formatters":"(,4.3.32767]","System.Runtime.Serialization.Json":"(,4.3.32767]","System.Runtime.Serialization.Primitives":"(,4.3.32767]","System.Runtime.Serialization.Xml":"(,4.3.32767]","System.Security.AccessControl":"(,6.0.32767]","System.Security.Claims":"(,4.3.32767]","System.Security.Cryptography.Algorithms":"(,4.3.32767]","System.Security.Cryptography.Cng":"(,5.0.32767]","System.Security.Cryptography.Csp":"(,4.3.32767]","System.Security.Cryptography.Encoding":"(,4.3.32767]","System.Security.Cryptography.OpenSsl":"(,5.0.32767]","System.Security.Cryptography.Primitives":"(,4.3.32767]","System.Security.Cryptography.X509Certificates":"(,4.3.32767]","System.Security.Principal":"(,4.3.32767]","System.Security.Principal.Windows":"(,5.0.32767]","System.Security.SecureString":"(,4.3.32767]","System.Text.Encoding":"(,4.3.32767]","System.Text.Encoding.CodePages":"(,10.0.32767]","System.Text.Encoding.Extensions":"(,4.3.32767]","System.Text.Encodings.Web":"(,10.0.32767]","System.Text.Json":"(,10.0.32767]","System.Text.RegularExpressions":"(,4.3.32767]","System.Threading":"(,4.3.32767]","System.Threading.AccessControl":"(,10.0.32767]","System.Threading.Channels":"(,10.0.32767]","System.Threading.Overlapped":"(,4.3.32767]","System.Threading.Tasks":"(,4.3.32767]","System.Threading.Tasks.Dataflow":"(,10.0.32767]","System.Threading.Tasks.Extensions":"(,5.0.32767]","System.Threading.Tasks.Parallel":"(,4.3.32767]","System.Threading.Thread":"(,4.3.32767]","System.Threading.ThreadPool":"(,4.3.32767]","System.Threading.Timer":"(,4.3.32767]","System.ValueTuple":"(,4.5.32767]","System.Xml.ReaderWriter":"(,4.3.32767]","System.Xml.XDocument":"(,4.3.32767]","System.Xml.XmlDocument":"(,4.3.32767]","System.Xml.XmlSerializer":"(,4.3.32767]","System.Xml.XPath":"(,4.3.32767]","System.Xml.XPath.XDocument":"(,5.0.32767]"}}} \ No newline at end of file diff --git a/works/Charp/lab-05/lab05/obj/rider.project.model.nuget.info b/works/Charp/lab-05/lab05/obj/rider.project.model.nuget.info new file mode 100644 index 0000000..efe66b3 --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/rider.project.model.nuget.info @@ -0,0 +1 @@ +17921524531224568 \ No newline at end of file diff --git a/works/Charp/lab-05/lab05/obj/rider.project.restore.info b/works/Charp/lab-05/lab05/obj/rider.project.restore.info new file mode 100644 index 0000000..efe66b3 --- /dev/null +++ b/works/Charp/lab-05/lab05/obj/rider.project.restore.info @@ -0,0 +1 @@ +17921524531224568 \ No newline at end of file diff --git a/works/Charp/lab-06/.idea/.idea.lab-06/.idea/.gitignore b/works/Charp/lab-06/.idea/.idea.lab-06/.idea/.gitignore new file mode 100644 index 0000000..d1c18d1 --- /dev/null +++ b/works/Charp/lab-06/.idea/.idea.lab-06/.idea/.gitignore @@ -0,0 +1,15 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Rider ignored files +/modules.xml +/contentModel.xml +/projectSettingsUpdater.xml +/.idea.lab-06.iml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/works/Charp/lab-06/.idea/.idea.lab-06/.idea/encodings.xml b/works/Charp/lab-06/.idea/.idea.lab-06/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/works/Charp/lab-06/.idea/.idea.lab-06/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/works/Charp/lab-06/.idea/.idea.lab-06/.idea/indexLayout.xml b/works/Charp/lab-06/.idea/.idea.lab-06/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/works/Charp/lab-06/.idea/.idea.lab-06/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/works/Charp/lab-06/.idea/.idea.lab-06/.idea/vcs.xml b/works/Charp/lab-06/.idea/.idea.lab-06/.idea/vcs.xml new file mode 100644 index 0000000..b2bdec2 --- /dev/null +++ b/works/Charp/lab-06/.idea/.idea.lab-06/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/works/Charp/lab-06/Readme.md b/works/Charp/lab-06/Readme.md new file mode 100644 index 0000000..94f9e9d --- /dev/null +++ b/works/Charp/lab-06/Readme.md @@ -0,0 +1,154 @@ +# Лабораторная работа №6 +--- + +## Ключевой код +```csharp +class Program +{ + static void Main() + { + Pokemon pika = new Pokemon("Пикачу", 5, 100); + Pokemon skvirtl = new Pokemon("Сквиртл", 5, 90); + Pokemon bulbazavr = new Pokemon("Бульбазавр", 9, 80); + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("=== ЗАДАНИЕ 1 ==="); + Console.WriteLine("=== ПОКЕДЕКС ===\n"); + Console.ForegroundColor = ConsoleColor.Red; + pika.ShowInfo(); + Console.ForegroundColor = ConsoleColor.Blue; + skvirtl.ShowInfo(); + Console.WriteLine("\n=== ЗАДАНИЕ 2 ==="); + Console.WriteLine("=== ПРОВЕРКА ИНКАПСУЛЯЦИИ ==="); ; + Console.WriteLine($"Попытка установить HP = {pika.HP = -50}..."); + Console.WriteLine($"Текущее HP: {pika.HP} (защита сработала)"); + pika.Heal(); + pika.TakeDamage(30); + Console.WriteLine($"Покемон получил {30} урона. HP: {pika.HP}"); + pika.Heal(); + Console.WriteLine($"Покемон вылечился. HP: {pika.HP}"); + Console.WriteLine("\n=== ЗАДАНИЕ 3 ==="); + Console.WriteLine("=== ПОКЕДЕКС: СТАТИСТИКА ==="); + Console.WriteLine($"Создано покемонов: {Pokemon.Count}\n"); + Console.WriteLine("=== БИТВА ==="); + pika.Battle(skvirtl); + } + + class Pokemon + { + private string name; + + private int hp; + + private int level; + + public int HP + { + get { return hp; } + set + { + if (value < 0) hp = 0; + else if (value > 100) hp = 100; + else hp = value; + } + } + + public int Level + { + get { return level; } + set + { + if (value < 1) level = 1; + else if (value > 100) level = 100; + else level = value; + } + } + + public string Name; + + public Pokemon(string name, int level, int hp) + { + this.Name = name == "" ? "Безымянный" : name; + this.Level = level; + this.HP = hp; + Count++; + } + + public void ShowInfo() + { + Console.WriteLine($"Name: {Name}, Уровень: {Level}, HP: {HP}"); + } + + public void TakeDamage(int damage) + { + if (HP > 0) + { + HP -= damage; + if (HP < 0) HP = 0; + } + } + + public void Heal() + { + HP = 100; + } + + public static int Count { get; private set; } = 0; + + Pokemon winner; + Pokemon loser; + public void Battle(Pokemon enemy) + { + Console.WriteLine($"{this.Name} (Ур. {this.Level}), HP {this.HP} против {enemy.Name} (Ур. {enemy.Level}), HP {enemy.HP}"); + if (this.Level > enemy.Level) + { + winner = this; + loser = enemy; + Console.WriteLine($"{winner.Name} побеждает! {loser.Name} теряет {winner.Level} HP."); + } + else if (this.Level < enemy.Level) + { + winner = enemy; + loser = this; + Console.WriteLine($"{winner.Name} побеждает! {loser.Name} теряет {winner.Level} HP."); + } + else + { + Console.WriteLine("Силы равны! Победила дружба"); + return; + } + + int damage = winner.Level; + loser.TakeDamage(damage); + + Console.WriteLine($"Победитель: {winner.Name}, Осталось HP: {winner.HP}"); + Console.WriteLine($"Проигравший ({loser.Name}) Осталось HP: {loser.HP}"); + } + } +} +``` + +## ВЫВОД: +``` +=== ЗАДАНИЕ 1 === +=== ПОКЕДЕКС === + +Name: Пикачу, Уровень: 5, HP: 100 +Name: Сквиртл, Уровень: 7, HP: 90 + +=== ЗАДАНИЕ 2 === +=== ПРОВЕРКА ИНКАПСУЛЯЦИИ === +Попытка установить HP = -50... +Текущее HP: 0 (защита сработала) +Покемон получил 30 урона. HP: 70 +Покемон вылечился. HP: 100 + +=== ЗАДАНИЕ 3 === +=== ПОКЕДЕКС: СТАТИСТИКА === +Создано покемонов: 3 + +=== БИТВА === +Пикачу (Ур. 5), HP 100 против Сквиртл (Ур. 7), HP 90 +Сквиртл побеждает! Пикачу теряет 7 HP. +Победитель: Сквиртл, Осталось HP: 90 +Проигравший (Пикачу) Осталось HP: 93 +``` \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06.sln b/works/Charp/lab-06/lab-06.sln new file mode 100644 index 0000000..2e4293c --- /dev/null +++ b/works/Charp/lab-06/lab-06.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lab-06", "lab-06\lab-06.csproj", "{57CC8C7A-4F2C-4F59-8AC8-511ECC0085EC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {57CC8C7A-4F2C-4F59-8AC8-511ECC0085EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {57CC8C7A-4F2C-4F59-8AC8-511ECC0085EC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {57CC8C7A-4F2C-4F59-8AC8-511ECC0085EC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {57CC8C7A-4F2C-4F59-8AC8-511ECC0085EC}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/works/Charp/lab-06/lab-06/Program.cs b/works/Charp/lab-06/lab-06/Program.cs new file mode 100644 index 0000000..ea8a7dc --- /dev/null +++ b/works/Charp/lab-06/lab-06/Program.cs @@ -0,0 +1,122 @@ +class Program +{ + static void Main() + { + Pokemon pika = new Pokemon("Пикачу", 5, 100); + Pokemon skvirtl = new Pokemon("Сквиртл", 5, 90); + Pokemon bulbazavr = new Pokemon("Бульбазавр", 9, 80); + Console.ForegroundColor = ConsoleColor.Green; + Console.WriteLine("=== ЗАДАНИЕ 1 ==="); + Console.WriteLine("=== ПОКЕДЕКС ===\n"); + Console.ForegroundColor = ConsoleColor.Red; + pika.ShowInfo(); + Console.ForegroundColor = ConsoleColor.Blue; + skvirtl.ShowInfo(); + Console.WriteLine("\n=== ЗАДАНИЕ 2 ==="); + Console.WriteLine("=== ПРОВЕРКА ИНКАПСУЛЯЦИИ ==="); ; + Console.WriteLine($"Попытка установить HP = {pika.HP = -50}..."); + Console.WriteLine($"Текущее HP: {pika.HP} (защита сработала)"); + pika.Heal(); + pika.TakeDamage(30); + Console.WriteLine($"Покемон получил {30} урона. HP: {pika.HP}"); + pika.Heal(); + Console.WriteLine($"Покемон вылечился. HP: {pika.HP}"); + Console.WriteLine("\n=== ЗАДАНИЕ 3 ==="); + Console.WriteLine("=== ПОКЕДЕКС: СТАТИСТИКА ==="); + Console.WriteLine($"Создано покемонов: {Pokemon.Count}\n"); + Console.WriteLine("=== БИТВА ==="); + pika.Battle(skvirtl); + } + + class Pokemon + { + private string name; + + private int hp; + + private int level; + + public int HP + { + get { return hp; } + set + { + if (value < 0) hp = 0; + else if (value > 100) hp = 100; + else hp = value; + } + } + + public int Level + { + get { return level; } + set + { + if (value < 1) level = 1; + else if (value > 100) level = 100; + else level = value; + } + } + + public string Name; + + public Pokemon(string name, int level, int hp) + { + this.Name = name == "" ? "Безымянный" : name; + this.Level = level; + this.HP = hp; + Count++; + } + + public void ShowInfo() + { + Console.WriteLine($"Name: {Name}, Уровень: {Level}, HP: {HP}"); + } + + public void TakeDamage(int damage) + { + if (HP > 0) + { + HP -= damage; + if (HP < 0) HP = 0; + } + } + + public void Heal() + { + HP = 100; + } + + public static int Count { get; private set; } = 0; + + Pokemon winner; + Pokemon loser; + public void Battle(Pokemon enemy) + { + Console.WriteLine($"{this.Name} (Ур. {this.Level}), HP {this.HP} против {enemy.Name} (Ур. {enemy.Level}), HP {enemy.HP}"); + if (this.Level > enemy.Level) + { + winner = this; + loser = enemy; + Console.WriteLine($"{winner.Name} побеждает! {loser.Name} теряет {winner.Level} HP."); + } + else if (this.Level < enemy.Level) + { + winner = enemy; + loser = this; + Console.WriteLine($"{winner.Name} побеждает! {loser.Name} теряет {winner.Level} HP."); + } + else + { + Console.WriteLine("Силы равны! Победила дружба"); + return; + } + + int damage = winner.Level; + loser.TakeDamage(damage); + + Console.WriteLine($"Победитель: {winner.Name}, Осталось HP: {winner.HP}"); + Console.WriteLine($"Проигравший ({loser.Name}) Осталось HP: {loser.HP}"); + } + } +} \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.deps.json b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.deps.json new file mode 100644 index 0000000..bd628b4 --- /dev/null +++ b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v10.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v10.0": { + "lab-06/1.0.0": { + "runtime": { + "lab-06.dll": {} + } + } + } + }, + "libraries": { + "lab-06/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.dll b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.dll new file mode 100644 index 0000000..6a0bbbf Binary files /dev/null and b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.dll differ diff --git a/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.exe b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.exe new file mode 100644 index 0000000..b73b0f1 Binary files /dev/null and b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.exe differ diff --git a/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.pdb b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.pdb new file mode 100644 index 0000000..efb3114 Binary files /dev/null and b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.pdb differ diff --git a/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.runtimeconfig.json b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.runtimeconfig.json new file mode 100644 index 0000000..01e4519 --- /dev/null +++ b/works/Charp/lab-06/lab-06/bin/Debug/net10.0/lab-06.runtimeconfig.json @@ -0,0 +1,12 @@ +{ + "runtimeOptions": { + "tfm": "net10.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "10.0.0" + }, + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/lab-06.csproj b/works/Charp/lab-06/lab-06/lab-06.csproj new file mode 100644 index 0000000..052e958 --- /dev/null +++ b/works/Charp/lab-06/lab-06/lab-06.csproj @@ -0,0 +1,11 @@ + + + + Exe + net10.0 + lab_06 + enable + enable + + + diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs new file mode 100644 index 0000000..925b135 --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")] diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/apphost.exe b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/apphost.exe new file mode 100644 index 0000000..b73b0f1 Binary files /dev/null and b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/apphost.exe differ diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.AssemblyInfo.cs b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.AssemblyInfo.cs new file mode 100644 index 0000000..893f878 --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("lab-06")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+25a3a7c87f79ddc05ce936cbe0b780d74a7102bb")] +[assembly: System.Reflection.AssemblyProductAttribute("lab-06")] +[assembly: System.Reflection.AssemblyTitleAttribute("lab-06")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.AssemblyInfoInputs.cache b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.AssemblyInfoInputs.cache new file mode 100644 index 0000000..8cc0edb --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +d953b7b1e0220f5096ef37b4b035026b657eb16ce29baf64592c979c977c5131 diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.GeneratedMSBuildEditorConfig.editorconfig b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..137cdf4 --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,18 @@ +is_global = true +build_property.TargetFramework = net10.0 +build_property.TargetFrameworkIdentifier = .NETCoreApp +build_property.TargetFrameworkVersion = v10.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property.EntryPointFilePath = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = lab_06 +build_property.ProjectDir = Z:\prog-belyaev\CSharp\lab-06\lab-06\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 10.0 +build_property.EnableCodeStyleSeverity = diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.GlobalUsings.g.cs b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.GlobalUsings.g.cs new file mode 100644 index 0000000..d12bcbc --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using System; +global using System.Collections.Generic; +global using System.IO; +global using System.Linq; +global using System.Net.Http; +global using System.Threading; +global using System.Threading.Tasks; diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.assets.cache b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.assets.cache new file mode 100644 index 0000000..d0f6bfc Binary files /dev/null and b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.assets.cache differ diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.csproj.CoreCompileInputs.cache b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..bd2467b --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +0e4143da2bac0d1ef0b2f1068c6cfb525307a67a4c40b7569f8c1d4ba5aafe2e diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.csproj.FileListAbsolute.txt b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..9c65bdd --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +Z:\prog-belyaev\CSharp\lab-06\lab-06\bin\Debug\net10.0\lab-06.exe +Z:\prog-belyaev\CSharp\lab-06\lab-06\bin\Debug\net10.0\lab-06.deps.json +Z:\prog-belyaev\CSharp\lab-06\lab-06\bin\Debug\net10.0\lab-06.runtimeconfig.json +Z:\prog-belyaev\CSharp\lab-06\lab-06\bin\Debug\net10.0\lab-06.dll +Z:\prog-belyaev\CSharp\lab-06\lab-06\bin\Debug\net10.0\lab-06.pdb +Z:\prog-belyaev\CSharp\lab-06\lab-06\obj\Debug\net10.0\lab-06.GeneratedMSBuildEditorConfig.editorconfig +Z:\prog-belyaev\CSharp\lab-06\lab-06\obj\Debug\net10.0\lab-06.AssemblyInfoInputs.cache +Z:\prog-belyaev\CSharp\lab-06\lab-06\obj\Debug\net10.0\lab-06.AssemblyInfo.cs +Z:\prog-belyaev\CSharp\lab-06\lab-06\obj\Debug\net10.0\lab-06.csproj.CoreCompileInputs.cache +Z:\prog-belyaev\CSharp\lab-06\lab-06\obj\Debug\net10.0\lab-06.dll +Z:\prog-belyaev\CSharp\lab-06\lab-06\obj\Debug\net10.0\refint\lab-06.dll +Z:\prog-belyaev\CSharp\lab-06\lab-06\obj\Debug\net10.0\lab-06.pdb +Z:\prog-belyaev\CSharp\lab-06\lab-06\obj\Debug\net10.0\lab-06.genruntimeconfig.cache +Z:\prog-belyaev\CSharp\lab-06\lab-06\obj\Debug\net10.0\ref\lab-06.dll diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.dll b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.dll new file mode 100644 index 0000000..6a0bbbf Binary files /dev/null and b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.dll differ diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.genruntimeconfig.cache b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.genruntimeconfig.cache new file mode 100644 index 0000000..41cd0bf --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.genruntimeconfig.cache @@ -0,0 +1 @@ +406cb93b801dbdf6344a6b3669b2f038a1584213e8db6633a7c46978e8d00b83 diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.pdb b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.pdb new file mode 100644 index 0000000..efb3114 Binary files /dev/null and b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/lab-06.pdb differ diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/ref/lab-06.dll b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/ref/lab-06.dll new file mode 100644 index 0000000..2721d02 Binary files /dev/null and b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/ref/lab-06.dll differ diff --git a/works/Charp/lab-06/lab-06/obj/Debug/net10.0/refint/lab-06.dll b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/refint/lab-06.dll new file mode 100644 index 0000000..2721d02 Binary files /dev/null and b/works/Charp/lab-06/lab-06/obj/Debug/net10.0/refint/lab-06.dll differ diff --git a/works/Charp/lab-06/lab-06/obj/lab-06.csproj.nuget.dgspec.json b/works/Charp/lab-06/lab-06/obj/lab-06.csproj.nuget.dgspec.json new file mode 100644 index 0000000..340c844 --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/lab-06.csproj.nuget.dgspec.json @@ -0,0 +1,343 @@ +{ + "format": 1, + "restore": { + "Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\lab-06.csproj": {} + }, + "projects": { + "Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\lab-06.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\lab-06.csproj", + "projectName": "lab-06", + "projectPath": "Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\lab-06.csproj", + "packagesPath": "C:\\Users\\228p\\.nuget\\packages\\", + "outputPath": "Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\228p\\AppData\\Roaming\\NuGet\\NuGet.Config" + ], + "originalTargetFrameworks": [ + "net10.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net10.0": { + "framework": "net10.0", + "targetAlias": "net10.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "10.0.400" + }, + "frameworks": { + "net10.0": { + "framework": "net10.0", + "targetAlias": "net10.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400/PortableRuntimeIdentifierGraph.json", + "packagesToPrune": { + "Microsoft.CSharp": "(,4.7.32767]", + "Microsoft.VisualBasic": "(,10.4.32767]", + "Microsoft.Win32.Primitives": "(,4.3.32767]", + "Microsoft.Win32.Registry": "(,5.0.32767]", + "runtime.any.System.Collections": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.any.System.Globalization": "(,4.3.32767]", + "runtime.any.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.any.System.IO": "(,4.3.32767]", + "runtime.any.System.Reflection": "(,4.3.32767]", + "runtime.any.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.any.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.any.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.any.System.Runtime": "(,4.3.32767]", + "runtime.any.System.Runtime.Handles": "(,4.3.32767]", + "runtime.any.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.any.System.Text.Encoding": "(,4.3.32767]", + "runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.any.System.Threading.Tasks": "(,4.3.32767]", + "runtime.any.System.Threading.Timer": "(,4.3.32767]", + "runtime.aot.System.Collections": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.aot.System.Globalization": "(,4.3.32767]", + "runtime.aot.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.aot.System.IO": "(,4.3.32767]", + "runtime.aot.System.Reflection": "(,4.3.32767]", + "runtime.aot.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.aot.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.aot.System.Runtime": "(,4.3.32767]", + "runtime.aot.System.Runtime.Handles": "(,4.3.32767]", + "runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.aot.System.Threading.Tasks": "(,4.3.32767]", + "runtime.aot.System.Threading.Timer": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.unix.System.Console": "(,4.3.32767]", + "runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.unix.System.IO.FileSystem": "(,4.3.32767]", + "runtime.unix.System.Net.Primitives": "(,4.3.32767]", + "runtime.unix.System.Net.Sockets": "(,4.3.32767]", + "runtime.unix.System.Private.Uri": "(,4.3.32767]", + "runtime.unix.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.win.System.Console": "(,4.3.32767]", + "runtime.win.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.win.System.IO.FileSystem": "(,4.3.32767]", + "runtime.win.System.Net.Primitives": "(,4.3.32767]", + "runtime.win.System.Net.Sockets": "(,4.3.32767]", + "runtime.win.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7.System.Private.Uri": "(,4.3.32767]", + "runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]", + "System.AppContext": "(,4.3.32767]", + "System.Buffers": "(,5.0.32767]", + "System.Collections": "(,4.3.32767]", + "System.Collections.Concurrent": "(,4.3.32767]", + "System.Collections.Immutable": "(,10.0.32767]", + "System.Collections.NonGeneric": "(,4.3.32767]", + "System.Collections.Specialized": "(,4.3.32767]", + "System.ComponentModel": "(,4.3.32767]", + "System.ComponentModel.Annotations": "(,4.3.32767]", + "System.ComponentModel.EventBasedAsync": "(,4.3.32767]", + "System.ComponentModel.Primitives": "(,4.3.32767]", + "System.ComponentModel.TypeConverter": "(,4.3.32767]", + "System.Console": "(,4.3.32767]", + "System.Data.Common": "(,4.3.32767]", + "System.Data.DataSetExtensions": "(,4.4.32767]", + "System.Diagnostics.Contracts": "(,4.3.32767]", + "System.Diagnostics.Debug": "(,4.3.32767]", + "System.Diagnostics.DiagnosticSource": "(,10.0.32767]", + "System.Diagnostics.FileVersionInfo": "(,4.3.32767]", + "System.Diagnostics.Process": "(,4.3.32767]", + "System.Diagnostics.StackTrace": "(,4.3.32767]", + "System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]", + "System.Diagnostics.Tools": "(,4.3.32767]", + "System.Diagnostics.TraceSource": "(,4.3.32767]", + "System.Diagnostics.Tracing": "(,4.3.32767]", + "System.Drawing.Primitives": "(,4.3.32767]", + "System.Dynamic.Runtime": "(,4.3.32767]", + "System.Formats.Asn1": "(,10.0.32767]", + "System.Formats.Tar": "(,10.0.32767]", + "System.Globalization": "(,4.3.32767]", + "System.Globalization.Calendars": "(,4.3.32767]", + "System.Globalization.Extensions": "(,4.3.32767]", + "System.IO": "(,4.3.32767]", + "System.IO.Compression": "(,4.3.32767]", + "System.IO.Compression.ZipFile": "(,4.3.32767]", + "System.IO.FileSystem": "(,4.3.32767]", + "System.IO.FileSystem.AccessControl": "(,4.4.32767]", + "System.IO.FileSystem.DriveInfo": "(,4.3.32767]", + "System.IO.FileSystem.Primitives": "(,4.3.32767]", + "System.IO.FileSystem.Watcher": "(,4.3.32767]", + "System.IO.IsolatedStorage": "(,4.3.32767]", + "System.IO.MemoryMappedFiles": "(,4.3.32767]", + "System.IO.Pipelines": "(,10.0.32767]", + "System.IO.Pipes": "(,4.3.32767]", + "System.IO.Pipes.AccessControl": "(,5.0.32767]", + "System.IO.UnmanagedMemoryStream": "(,4.3.32767]", + "System.Linq": "(,4.3.32767]", + "System.Linq.AsyncEnumerable": "(,10.0.32767]", + "System.Linq.Expressions": "(,4.3.32767]", + "System.Linq.Parallel": "(,4.3.32767]", + "System.Linq.Queryable": "(,4.3.32767]", + "System.Memory": "(,5.0.32767]", + "System.Net.Http": "(,4.3.32767]", + "System.Net.Http.Json": "(,10.0.32767]", + "System.Net.NameResolution": "(,4.3.32767]", + "System.Net.NetworkInformation": "(,4.3.32767]", + "System.Net.Ping": "(,4.3.32767]", + "System.Net.Primitives": "(,4.3.32767]", + "System.Net.Requests": "(,4.3.32767]", + "System.Net.Security": "(,4.3.32767]", + "System.Net.ServerSentEvents": "(,10.0.32767]", + "System.Net.Sockets": "(,4.3.32767]", + "System.Net.WebHeaderCollection": "(,4.3.32767]", + "System.Net.WebSockets": "(,4.3.32767]", + "System.Net.WebSockets.Client": "(,4.3.32767]", + "System.Numerics.Vectors": "(,5.0.32767]", + "System.ObjectModel": "(,4.3.32767]", + "System.Private.DataContractSerialization": "(,4.3.32767]", + "System.Private.Uri": "(,4.3.32767]", + "System.Reflection": "(,4.3.32767]", + "System.Reflection.DispatchProxy": "(,6.0.32767]", + "System.Reflection.Emit": "(,4.7.32767]", + "System.Reflection.Emit.ILGeneration": "(,4.7.32767]", + "System.Reflection.Emit.Lightweight": "(,4.7.32767]", + "System.Reflection.Extensions": "(,4.3.32767]", + "System.Reflection.Metadata": "(,10.0.32767]", + "System.Reflection.Primitives": "(,4.3.32767]", + "System.Reflection.TypeExtensions": "(,4.3.32767]", + "System.Resources.Reader": "(,4.3.32767]", + "System.Resources.ResourceManager": "(,4.3.32767]", + "System.Resources.Writer": "(,4.3.32767]", + "System.Runtime": "(,4.3.32767]", + "System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]", + "System.Runtime.CompilerServices.VisualC": "(,4.3.32767]", + "System.Runtime.Extensions": "(,4.3.32767]", + "System.Runtime.Handles": "(,4.3.32767]", + "System.Runtime.InteropServices": "(,4.3.32767]", + "System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]", + "System.Runtime.Loader": "(,4.3.32767]", + "System.Runtime.Numerics": "(,4.3.32767]", + "System.Runtime.Serialization.Formatters": "(,4.3.32767]", + "System.Runtime.Serialization.Json": "(,4.3.32767]", + "System.Runtime.Serialization.Primitives": "(,4.3.32767]", + "System.Runtime.Serialization.Xml": "(,4.3.32767]", + "System.Security.AccessControl": "(,6.0.32767]", + "System.Security.Claims": "(,4.3.32767]", + "System.Security.Cryptography.Algorithms": "(,4.3.32767]", + "System.Security.Cryptography.Cng": "(,5.0.32767]", + "System.Security.Cryptography.Csp": "(,4.3.32767]", + "System.Security.Cryptography.Encoding": "(,4.3.32767]", + "System.Security.Cryptography.OpenSsl": "(,5.0.32767]", + "System.Security.Cryptography.Primitives": "(,4.3.32767]", + "System.Security.Cryptography.X509Certificates": "(,4.3.32767]", + "System.Security.Principal": "(,4.3.32767]", + "System.Security.Principal.Windows": "(,5.0.32767]", + "System.Security.SecureString": "(,4.3.32767]", + "System.Text.Encoding": "(,4.3.32767]", + "System.Text.Encoding.CodePages": "(,10.0.32767]", + "System.Text.Encoding.Extensions": "(,4.3.32767]", + "System.Text.Encodings.Web": "(,10.0.32767]", + "System.Text.Json": "(,10.0.32767]", + "System.Text.RegularExpressions": "(,4.3.32767]", + "System.Threading": "(,4.3.32767]", + "System.Threading.AccessControl": "(,10.0.32767]", + "System.Threading.Channels": "(,10.0.32767]", + "System.Threading.Overlapped": "(,4.3.32767]", + "System.Threading.Tasks": "(,4.3.32767]", + "System.Threading.Tasks.Dataflow": "(,10.0.32767]", + "System.Threading.Tasks.Extensions": "(,5.0.32767]", + "System.Threading.Tasks.Parallel": "(,4.3.32767]", + "System.Threading.Thread": "(,4.3.32767]", + "System.Threading.ThreadPool": "(,4.3.32767]", + "System.Threading.Timer": "(,4.3.32767]", + "System.ValueTuple": "(,4.5.32767]", + "System.Xml.ReaderWriter": "(,4.3.32767]", + "System.Xml.XDocument": "(,4.3.32767]", + "System.Xml.XmlDocument": "(,4.3.32767]", + "System.Xml.XmlSerializer": "(,4.3.32767]", + "System.Xml.XPath": "(,4.3.32767]", + "System.Xml.XPath.XDocument": "(,5.0.32767]" + } + } + } + } + } +} \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/obj/lab-06.csproj.nuget.g.props b/works/Charp/lab-06/lab-06/obj/lab-06.csproj.nuget.g.props new file mode 100644 index 0000000..17e96a2 --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/lab-06.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\228p\.nuget\packages\ + PackageReference + 7.0.0 + + + + + \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/obj/lab-06.csproj.nuget.g.targets b/works/Charp/lab-06/lab-06/obj/lab-06.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/lab-06.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/obj/project.assets.json b/works/Charp/lab-06/lab-06/obj/project.assets.json new file mode 100644 index 0000000..ff49e6e --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/project.assets.json @@ -0,0 +1,348 @@ +{ + "version": 4, + "targets": { + "net10.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net10.0": [] + }, + "packageFolders": { + "C:\\Users\\228p\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\lab-06.csproj", + "projectName": "lab-06", + "projectPath": "Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\lab-06.csproj", + "packagesPath": "C:\\Users\\228p\\.nuget\\packages\\", + "outputPath": "Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\228p\\AppData\\Roaming\\NuGet\\NuGet.Config" + ], + "originalTargetFrameworks": [ + "net10.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net10.0": { + "framework": "net10.0", + "targetAlias": "net10.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "all" + }, + "SdkAnalysisLevel": "10.0.400" + }, + "frameworks": { + "net10.0": { + "framework": "net10.0", + "targetAlias": "net10.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.400/PortableRuntimeIdentifierGraph.json", + "packagesToPrune": { + "Microsoft.CSharp": "(,4.7.32767]", + "Microsoft.VisualBasic": "(,10.4.32767]", + "Microsoft.Win32.Primitives": "(,4.3.32767]", + "Microsoft.Win32.Registry": "(,5.0.32767]", + "runtime.any.System.Collections": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.any.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.any.System.Globalization": "(,4.3.32767]", + "runtime.any.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.any.System.IO": "(,4.3.32767]", + "runtime.any.System.Reflection": "(,4.3.32767]", + "runtime.any.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.any.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.any.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.any.System.Runtime": "(,4.3.32767]", + "runtime.any.System.Runtime.Handles": "(,4.3.32767]", + "runtime.any.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.any.System.Text.Encoding": "(,4.3.32767]", + "runtime.any.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.any.System.Threading.Tasks": "(,4.3.32767]", + "runtime.any.System.Threading.Timer": "(,4.3.32767]", + "runtime.aot.System.Collections": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tools": "(,4.3.32767]", + "runtime.aot.System.Diagnostics.Tracing": "(,4.3.32767]", + "runtime.aot.System.Globalization": "(,4.3.32767]", + "runtime.aot.System.Globalization.Calendars": "(,4.3.32767]", + "runtime.aot.System.IO": "(,4.3.32767]", + "runtime.aot.System.Reflection": "(,4.3.32767]", + "runtime.aot.System.Reflection.Extensions": "(,4.3.32767]", + "runtime.aot.System.Reflection.Primitives": "(,4.3.32767]", + "runtime.aot.System.Resources.ResourceManager": "(,4.3.32767]", + "runtime.aot.System.Runtime": "(,4.3.32767]", + "runtime.aot.System.Runtime.Handles": "(,4.3.32767]", + "runtime.aot.System.Runtime.InteropServices": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding": "(,4.3.32767]", + "runtime.aot.System.Text.Encoding.Extensions": "(,4.3.32767]", + "runtime.aot.System.Threading.Tasks": "(,4.3.32767]", + "runtime.aot.System.Threading.Timer": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.debian.9-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.27-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.fedora.28-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.opensuse.42.3-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "(,4.3.32767]", + "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography": "(,4.3.32767]", + "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http": "(,4.3.32767]", + "runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security": "(,4.3.32767]", + "runtime.unix.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.unix.System.Console": "(,4.3.32767]", + "runtime.unix.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.unix.System.IO.FileSystem": "(,4.3.32767]", + "runtime.unix.System.Net.Primitives": "(,4.3.32767]", + "runtime.unix.System.Net.Sockets": "(,4.3.32767]", + "runtime.unix.System.Private.Uri": "(,4.3.32767]", + "runtime.unix.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win.Microsoft.Win32.Primitives": "(,4.3.32767]", + "runtime.win.System.Console": "(,4.3.32767]", + "runtime.win.System.Diagnostics.Debug": "(,4.3.32767]", + "runtime.win.System.IO.FileSystem": "(,4.3.32767]", + "runtime.win.System.Net.Primitives": "(,4.3.32767]", + "runtime.win.System.Net.Sockets": "(,4.3.32767]", + "runtime.win.System.Runtime.Extensions": "(,4.3.32767]", + "runtime.win10-arm-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-arm64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win10-x64-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win10-x86-aot.runtime.native.System.IO.Compression": "(,4.0.32767]", + "runtime.win7-x64.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7-x86.runtime.native.System.IO.Compression": "(,4.3.32767]", + "runtime.win7.System.Private.Uri": "(,4.3.32767]", + "runtime.win8-arm.runtime.native.System.IO.Compression": "(,4.3.32767]", + "System.AppContext": "(,4.3.32767]", + "System.Buffers": "(,5.0.32767]", + "System.Collections": "(,4.3.32767]", + "System.Collections.Concurrent": "(,4.3.32767]", + "System.Collections.Immutable": "(,10.0.32767]", + "System.Collections.NonGeneric": "(,4.3.32767]", + "System.Collections.Specialized": "(,4.3.32767]", + "System.ComponentModel": "(,4.3.32767]", + "System.ComponentModel.Annotations": "(,4.3.32767]", + "System.ComponentModel.EventBasedAsync": "(,4.3.32767]", + "System.ComponentModel.Primitives": "(,4.3.32767]", + "System.ComponentModel.TypeConverter": "(,4.3.32767]", + "System.Console": "(,4.3.32767]", + "System.Data.Common": "(,4.3.32767]", + "System.Data.DataSetExtensions": "(,4.4.32767]", + "System.Diagnostics.Contracts": "(,4.3.32767]", + "System.Diagnostics.Debug": "(,4.3.32767]", + "System.Diagnostics.DiagnosticSource": "(,10.0.32767]", + "System.Diagnostics.FileVersionInfo": "(,4.3.32767]", + "System.Diagnostics.Process": "(,4.3.32767]", + "System.Diagnostics.StackTrace": "(,4.3.32767]", + "System.Diagnostics.TextWriterTraceListener": "(,4.3.32767]", + "System.Diagnostics.Tools": "(,4.3.32767]", + "System.Diagnostics.TraceSource": "(,4.3.32767]", + "System.Diagnostics.Tracing": "(,4.3.32767]", + "System.Drawing.Primitives": "(,4.3.32767]", + "System.Dynamic.Runtime": "(,4.3.32767]", + "System.Formats.Asn1": "(,10.0.32767]", + "System.Formats.Tar": "(,10.0.32767]", + "System.Globalization": "(,4.3.32767]", + "System.Globalization.Calendars": "(,4.3.32767]", + "System.Globalization.Extensions": "(,4.3.32767]", + "System.IO": "(,4.3.32767]", + "System.IO.Compression": "(,4.3.32767]", + "System.IO.Compression.ZipFile": "(,4.3.32767]", + "System.IO.FileSystem": "(,4.3.32767]", + "System.IO.FileSystem.AccessControl": "(,4.4.32767]", + "System.IO.FileSystem.DriveInfo": "(,4.3.32767]", + "System.IO.FileSystem.Primitives": "(,4.3.32767]", + "System.IO.FileSystem.Watcher": "(,4.3.32767]", + "System.IO.IsolatedStorage": "(,4.3.32767]", + "System.IO.MemoryMappedFiles": "(,4.3.32767]", + "System.IO.Pipelines": "(,10.0.32767]", + "System.IO.Pipes": "(,4.3.32767]", + "System.IO.Pipes.AccessControl": "(,5.0.32767]", + "System.IO.UnmanagedMemoryStream": "(,4.3.32767]", + "System.Linq": "(,4.3.32767]", + "System.Linq.AsyncEnumerable": "(,10.0.32767]", + "System.Linq.Expressions": "(,4.3.32767]", + "System.Linq.Parallel": "(,4.3.32767]", + "System.Linq.Queryable": "(,4.3.32767]", + "System.Memory": "(,5.0.32767]", + "System.Net.Http": "(,4.3.32767]", + "System.Net.Http.Json": "(,10.0.32767]", + "System.Net.NameResolution": "(,4.3.32767]", + "System.Net.NetworkInformation": "(,4.3.32767]", + "System.Net.Ping": "(,4.3.32767]", + "System.Net.Primitives": "(,4.3.32767]", + "System.Net.Requests": "(,4.3.32767]", + "System.Net.Security": "(,4.3.32767]", + "System.Net.ServerSentEvents": "(,10.0.32767]", + "System.Net.Sockets": "(,4.3.32767]", + "System.Net.WebHeaderCollection": "(,4.3.32767]", + "System.Net.WebSockets": "(,4.3.32767]", + "System.Net.WebSockets.Client": "(,4.3.32767]", + "System.Numerics.Vectors": "(,5.0.32767]", + "System.ObjectModel": "(,4.3.32767]", + "System.Private.DataContractSerialization": "(,4.3.32767]", + "System.Private.Uri": "(,4.3.32767]", + "System.Reflection": "(,4.3.32767]", + "System.Reflection.DispatchProxy": "(,6.0.32767]", + "System.Reflection.Emit": "(,4.7.32767]", + "System.Reflection.Emit.ILGeneration": "(,4.7.32767]", + "System.Reflection.Emit.Lightweight": "(,4.7.32767]", + "System.Reflection.Extensions": "(,4.3.32767]", + "System.Reflection.Metadata": "(,10.0.32767]", + "System.Reflection.Primitives": "(,4.3.32767]", + "System.Reflection.TypeExtensions": "(,4.3.32767]", + "System.Resources.Reader": "(,4.3.32767]", + "System.Resources.ResourceManager": "(,4.3.32767]", + "System.Resources.Writer": "(,4.3.32767]", + "System.Runtime": "(,4.3.32767]", + "System.Runtime.CompilerServices.Unsafe": "(,7.0.32767]", + "System.Runtime.CompilerServices.VisualC": "(,4.3.32767]", + "System.Runtime.Extensions": "(,4.3.32767]", + "System.Runtime.Handles": "(,4.3.32767]", + "System.Runtime.InteropServices": "(,4.3.32767]", + "System.Runtime.InteropServices.RuntimeInformation": "(,4.3.32767]", + "System.Runtime.Loader": "(,4.3.32767]", + "System.Runtime.Numerics": "(,4.3.32767]", + "System.Runtime.Serialization.Formatters": "(,4.3.32767]", + "System.Runtime.Serialization.Json": "(,4.3.32767]", + "System.Runtime.Serialization.Primitives": "(,4.3.32767]", + "System.Runtime.Serialization.Xml": "(,4.3.32767]", + "System.Security.AccessControl": "(,6.0.32767]", + "System.Security.Claims": "(,4.3.32767]", + "System.Security.Cryptography.Algorithms": "(,4.3.32767]", + "System.Security.Cryptography.Cng": "(,5.0.32767]", + "System.Security.Cryptography.Csp": "(,4.3.32767]", + "System.Security.Cryptography.Encoding": "(,4.3.32767]", + "System.Security.Cryptography.OpenSsl": "(,5.0.32767]", + "System.Security.Cryptography.Primitives": "(,4.3.32767]", + "System.Security.Cryptography.X509Certificates": "(,4.3.32767]", + "System.Security.Principal": "(,4.3.32767]", + "System.Security.Principal.Windows": "(,5.0.32767]", + "System.Security.SecureString": "(,4.3.32767]", + "System.Text.Encoding": "(,4.3.32767]", + "System.Text.Encoding.CodePages": "(,10.0.32767]", + "System.Text.Encoding.Extensions": "(,4.3.32767]", + "System.Text.Encodings.Web": "(,10.0.32767]", + "System.Text.Json": "(,10.0.32767]", + "System.Text.RegularExpressions": "(,4.3.32767]", + "System.Threading": "(,4.3.32767]", + "System.Threading.AccessControl": "(,10.0.32767]", + "System.Threading.Channels": "(,10.0.32767]", + "System.Threading.Overlapped": "(,4.3.32767]", + "System.Threading.Tasks": "(,4.3.32767]", + "System.Threading.Tasks.Dataflow": "(,10.0.32767]", + "System.Threading.Tasks.Extensions": "(,5.0.32767]", + "System.Threading.Tasks.Parallel": "(,4.3.32767]", + "System.Threading.Thread": "(,4.3.32767]", + "System.Threading.ThreadPool": "(,4.3.32767]", + "System.Threading.Timer": "(,4.3.32767]", + "System.ValueTuple": "(,4.5.32767]", + "System.Xml.ReaderWriter": "(,4.3.32767]", + "System.Xml.XDocument": "(,4.3.32767]", + "System.Xml.XmlDocument": "(,4.3.32767]", + "System.Xml.XmlSerializer": "(,4.3.32767]", + "System.Xml.XPath": "(,4.3.32767]", + "System.Xml.XPath.XDocument": "(,5.0.32767]" + } + } + } + } +} \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/obj/project.nuget.cache b/works/Charp/lab-06/lab-06/obj/project.nuget.cache new file mode 100644 index 0000000..73c15c0 --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "14Ev8A7WcPs=", + "success": true, + "projectFilePath": "Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\lab-06.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/obj/project.packagespec.json b/works/Charp/lab-06/lab-06/obj/project.packagespec.json new file mode 100644 index 0000000..6a131a3 --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/project.packagespec.json @@ -0,0 +1 @@ +"restore":{"projectUniqueName":"Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\lab-06.csproj","projectName":"lab-06","projectPath":"Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\lab-06.csproj","packagesPath":"","outputPath":"Z:\\prog-belyaev\\CSharp\\lab-06\\lab-06\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["net10.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net10.0":{"framework":"net10.0","targetAlias":"net10.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"all"},"SdkAnalysisLevel":"10.0.400"}"frameworks":{"net10.0":{"framework":"net10.0","targetAlias":"net10.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\10.0.400/PortableRuntimeIdentifierGraph.json","packagesToPrune":{"Microsoft.CSharp":"(,4.7.32767]","Microsoft.VisualBasic":"(,10.4.32767]","Microsoft.Win32.Primitives":"(,4.3.32767]","Microsoft.Win32.Registry":"(,5.0.32767]","runtime.any.System.Collections":"(,4.3.32767]","runtime.any.System.Diagnostics.Tools":"(,4.3.32767]","runtime.any.System.Diagnostics.Tracing":"(,4.3.32767]","runtime.any.System.Globalization":"(,4.3.32767]","runtime.any.System.Globalization.Calendars":"(,4.3.32767]","runtime.any.System.IO":"(,4.3.32767]","runtime.any.System.Reflection":"(,4.3.32767]","runtime.any.System.Reflection.Extensions":"(,4.3.32767]","runtime.any.System.Reflection.Primitives":"(,4.3.32767]","runtime.any.System.Resources.ResourceManager":"(,4.3.32767]","runtime.any.System.Runtime":"(,4.3.32767]","runtime.any.System.Runtime.Handles":"(,4.3.32767]","runtime.any.System.Runtime.InteropServices":"(,4.3.32767]","runtime.any.System.Text.Encoding":"(,4.3.32767]","runtime.any.System.Text.Encoding.Extensions":"(,4.3.32767]","runtime.any.System.Threading.Tasks":"(,4.3.32767]","runtime.any.System.Threading.Timer":"(,4.3.32767]","runtime.aot.System.Collections":"(,4.3.32767]","runtime.aot.System.Diagnostics.Tools":"(,4.3.32767]","runtime.aot.System.Diagnostics.Tracing":"(,4.3.32767]","runtime.aot.System.Globalization":"(,4.3.32767]","runtime.aot.System.Globalization.Calendars":"(,4.3.32767]","runtime.aot.System.IO":"(,4.3.32767]","runtime.aot.System.Reflection":"(,4.3.32767]","runtime.aot.System.Reflection.Extensions":"(,4.3.32767]","runtime.aot.System.Reflection.Primitives":"(,4.3.32767]","runtime.aot.System.Resources.ResourceManager":"(,4.3.32767]","runtime.aot.System.Runtime":"(,4.3.32767]","runtime.aot.System.Runtime.Handles":"(,4.3.32767]","runtime.aot.System.Runtime.InteropServices":"(,4.3.32767]","runtime.aot.System.Text.Encoding":"(,4.3.32767]","runtime.aot.System.Text.Encoding.Extensions":"(,4.3.32767]","runtime.aot.System.Threading.Tasks":"(,4.3.32767]","runtime.aot.System.Threading.Timer":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.debian.9-x64.runtime.native.System":"(,4.3.32767]","runtime.debian.9-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.debian.9-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.debian.9-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.fedora.27-x64.runtime.native.System":"(,4.3.32767]","runtime.fedora.27-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.fedora.27-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.fedora.27-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.fedora.28-x64.runtime.native.System":"(,4.3.32767]","runtime.fedora.28-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.fedora.28-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.fedora.28-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.opensuse.42.3-x64.runtime.native.System":"(,4.3.32767]","runtime.opensuse.42.3-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.opensuse.42.3-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.opensuse.42.3-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple":"(,4.3.32767]","runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography":"(,4.3.32767]","runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl":"(,4.3.32767]","runtime.ubuntu.18.04-x64.runtime.native.System":"(,4.3.32767]","runtime.ubuntu.18.04-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.ubuntu.18.04-x64.runtime.native.System.Net.Http":"(,4.3.32767]","runtime.ubuntu.18.04-x64.runtime.native.System.Net.Security":"(,4.3.32767]","runtime.unix.Microsoft.Win32.Primitives":"(,4.3.32767]","runtime.unix.System.Console":"(,4.3.32767]","runtime.unix.System.Diagnostics.Debug":"(,4.3.32767]","runtime.unix.System.IO.FileSystem":"(,4.3.32767]","runtime.unix.System.Net.Primitives":"(,4.3.32767]","runtime.unix.System.Net.Sockets":"(,4.3.32767]","runtime.unix.System.Private.Uri":"(,4.3.32767]","runtime.unix.System.Runtime.Extensions":"(,4.3.32767]","runtime.win.Microsoft.Win32.Primitives":"(,4.3.32767]","runtime.win.System.Console":"(,4.3.32767]","runtime.win.System.Diagnostics.Debug":"(,4.3.32767]","runtime.win.System.IO.FileSystem":"(,4.3.32767]","runtime.win.System.Net.Primitives":"(,4.3.32767]","runtime.win.System.Net.Sockets":"(,4.3.32767]","runtime.win.System.Runtime.Extensions":"(,4.3.32767]","runtime.win10-arm-aot.runtime.native.System.IO.Compression":"(,4.0.32767]","runtime.win10-arm64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.win10-x64-aot.runtime.native.System.IO.Compression":"(,4.0.32767]","runtime.win10-x86-aot.runtime.native.System.IO.Compression":"(,4.0.32767]","runtime.win7-x64.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.win7-x86.runtime.native.System.IO.Compression":"(,4.3.32767]","runtime.win7.System.Private.Uri":"(,4.3.32767]","runtime.win8-arm.runtime.native.System.IO.Compression":"(,4.3.32767]","System.AppContext":"(,4.3.32767]","System.Buffers":"(,5.0.32767]","System.Collections":"(,4.3.32767]","System.Collections.Concurrent":"(,4.3.32767]","System.Collections.Immutable":"(,10.0.32767]","System.Collections.NonGeneric":"(,4.3.32767]","System.Collections.Specialized":"(,4.3.32767]","System.ComponentModel":"(,4.3.32767]","System.ComponentModel.Annotations":"(,4.3.32767]","System.ComponentModel.EventBasedAsync":"(,4.3.32767]","System.ComponentModel.Primitives":"(,4.3.32767]","System.ComponentModel.TypeConverter":"(,4.3.32767]","System.Console":"(,4.3.32767]","System.Data.Common":"(,4.3.32767]","System.Data.DataSetExtensions":"(,4.4.32767]","System.Diagnostics.Contracts":"(,4.3.32767]","System.Diagnostics.Debug":"(,4.3.32767]","System.Diagnostics.DiagnosticSource":"(,10.0.32767]","System.Diagnostics.FileVersionInfo":"(,4.3.32767]","System.Diagnostics.Process":"(,4.3.32767]","System.Diagnostics.StackTrace":"(,4.3.32767]","System.Diagnostics.TextWriterTraceListener":"(,4.3.32767]","System.Diagnostics.Tools":"(,4.3.32767]","System.Diagnostics.TraceSource":"(,4.3.32767]","System.Diagnostics.Tracing":"(,4.3.32767]","System.Drawing.Primitives":"(,4.3.32767]","System.Dynamic.Runtime":"(,4.3.32767]","System.Formats.Asn1":"(,10.0.32767]","System.Formats.Tar":"(,10.0.32767]","System.Globalization":"(,4.3.32767]","System.Globalization.Calendars":"(,4.3.32767]","System.Globalization.Extensions":"(,4.3.32767]","System.IO":"(,4.3.32767]","System.IO.Compression":"(,4.3.32767]","System.IO.Compression.ZipFile":"(,4.3.32767]","System.IO.FileSystem":"(,4.3.32767]","System.IO.FileSystem.AccessControl":"(,4.4.32767]","System.IO.FileSystem.DriveInfo":"(,4.3.32767]","System.IO.FileSystem.Primitives":"(,4.3.32767]","System.IO.FileSystem.Watcher":"(,4.3.32767]","System.IO.IsolatedStorage":"(,4.3.32767]","System.IO.MemoryMappedFiles":"(,4.3.32767]","System.IO.Pipelines":"(,10.0.32767]","System.IO.Pipes":"(,4.3.32767]","System.IO.Pipes.AccessControl":"(,5.0.32767]","System.IO.UnmanagedMemoryStream":"(,4.3.32767]","System.Linq":"(,4.3.32767]","System.Linq.AsyncEnumerable":"(,10.0.32767]","System.Linq.Expressions":"(,4.3.32767]","System.Linq.Parallel":"(,4.3.32767]","System.Linq.Queryable":"(,4.3.32767]","System.Memory":"(,5.0.32767]","System.Net.Http":"(,4.3.32767]","System.Net.Http.Json":"(,10.0.32767]","System.Net.NameResolution":"(,4.3.32767]","System.Net.NetworkInformation":"(,4.3.32767]","System.Net.Ping":"(,4.3.32767]","System.Net.Primitives":"(,4.3.32767]","System.Net.Requests":"(,4.3.32767]","System.Net.Security":"(,4.3.32767]","System.Net.ServerSentEvents":"(,10.0.32767]","System.Net.Sockets":"(,4.3.32767]","System.Net.WebHeaderCollection":"(,4.3.32767]","System.Net.WebSockets":"(,4.3.32767]","System.Net.WebSockets.Client":"(,4.3.32767]","System.Numerics.Vectors":"(,5.0.32767]","System.ObjectModel":"(,4.3.32767]","System.Private.DataContractSerialization":"(,4.3.32767]","System.Private.Uri":"(,4.3.32767]","System.Reflection":"(,4.3.32767]","System.Reflection.DispatchProxy":"(,6.0.32767]","System.Reflection.Emit":"(,4.7.32767]","System.Reflection.Emit.ILGeneration":"(,4.7.32767]","System.Reflection.Emit.Lightweight":"(,4.7.32767]","System.Reflection.Extensions":"(,4.3.32767]","System.Reflection.Metadata":"(,10.0.32767]","System.Reflection.Primitives":"(,4.3.32767]","System.Reflection.TypeExtensions":"(,4.3.32767]","System.Resources.Reader":"(,4.3.32767]","System.Resources.ResourceManager":"(,4.3.32767]","System.Resources.Writer":"(,4.3.32767]","System.Runtime":"(,4.3.32767]","System.Runtime.CompilerServices.Unsafe":"(,7.0.32767]","System.Runtime.CompilerServices.VisualC":"(,4.3.32767]","System.Runtime.Extensions":"(,4.3.32767]","System.Runtime.Handles":"(,4.3.32767]","System.Runtime.InteropServices":"(,4.3.32767]","System.Runtime.InteropServices.RuntimeInformation":"(,4.3.32767]","System.Runtime.Loader":"(,4.3.32767]","System.Runtime.Numerics":"(,4.3.32767]","System.Runtime.Serialization.Formatters":"(,4.3.32767]","System.Runtime.Serialization.Json":"(,4.3.32767]","System.Runtime.Serialization.Primitives":"(,4.3.32767]","System.Runtime.Serialization.Xml":"(,4.3.32767]","System.Security.AccessControl":"(,6.0.32767]","System.Security.Claims":"(,4.3.32767]","System.Security.Cryptography.Algorithms":"(,4.3.32767]","System.Security.Cryptography.Cng":"(,5.0.32767]","System.Security.Cryptography.Csp":"(,4.3.32767]","System.Security.Cryptography.Encoding":"(,4.3.32767]","System.Security.Cryptography.OpenSsl":"(,5.0.32767]","System.Security.Cryptography.Primitives":"(,4.3.32767]","System.Security.Cryptography.X509Certificates":"(,4.3.32767]","System.Security.Principal":"(,4.3.32767]","System.Security.Principal.Windows":"(,5.0.32767]","System.Security.SecureString":"(,4.3.32767]","System.Text.Encoding":"(,4.3.32767]","System.Text.Encoding.CodePages":"(,10.0.32767]","System.Text.Encoding.Extensions":"(,4.3.32767]","System.Text.Encodings.Web":"(,10.0.32767]","System.Text.Json":"(,10.0.32767]","System.Text.RegularExpressions":"(,4.3.32767]","System.Threading":"(,4.3.32767]","System.Threading.AccessControl":"(,10.0.32767]","System.Threading.Channels":"(,10.0.32767]","System.Threading.Overlapped":"(,4.3.32767]","System.Threading.Tasks":"(,4.3.32767]","System.Threading.Tasks.Dataflow":"(,10.0.32767]","System.Threading.Tasks.Extensions":"(,5.0.32767]","System.Threading.Tasks.Parallel":"(,4.3.32767]","System.Threading.Thread":"(,4.3.32767]","System.Threading.ThreadPool":"(,4.3.32767]","System.Threading.Timer":"(,4.3.32767]","System.ValueTuple":"(,4.5.32767]","System.Xml.ReaderWriter":"(,4.3.32767]","System.Xml.XDocument":"(,4.3.32767]","System.Xml.XmlDocument":"(,4.3.32767]","System.Xml.XmlSerializer":"(,4.3.32767]","System.Xml.XPath":"(,4.3.32767]","System.Xml.XPath.XDocument":"(,5.0.32767]"}}} \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/obj/rider.project.model.nuget.info b/works/Charp/lab-06/lab-06/obj/rider.project.model.nuget.info new file mode 100644 index 0000000..882dac1 --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/rider.project.model.nuget.info @@ -0,0 +1 @@ +17912872371957310 \ No newline at end of file diff --git a/works/Charp/lab-06/lab-06/obj/rider.project.restore.info b/works/Charp/lab-06/lab-06/obj/rider.project.restore.info new file mode 100644 index 0000000..882dac1 --- /dev/null +++ b/works/Charp/lab-06/lab-06/obj/rider.project.restore.info @@ -0,0 +1 @@ +17912872371957310 \ No newline at end of file diff --git a/works/Kotlin/lab-05/.idea/.gitignore b/works/Kotlin/lab-05/.idea/.gitignore new file mode 100644 index 0000000..30cf57e --- /dev/null +++ b/works/Kotlin/lab-05/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/works/Kotlin/lab-05/.idea/.name b/works/Kotlin/lab-05/.idea/.name new file mode 100644 index 0000000..ccb6138 --- /dev/null +++ b/works/Kotlin/lab-05/.idea/.name @@ -0,0 +1 @@ +Main.kt \ No newline at end of file diff --git a/works/Kotlin/lab-05/.idea/inspectionProfiles/Project_Default.xml b/works/Kotlin/lab-05/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..df543e3 --- /dev/null +++ b/works/Kotlin/lab-05/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-05/.idea/kotlinc.xml b/works/Kotlin/lab-05/.idea/kotlinc.xml new file mode 100644 index 0000000..3777884 --- /dev/null +++ b/works/Kotlin/lab-05/.idea/kotlinc.xml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-05/.idea/libraries/KotlinJavaRuntime.xml b/works/Kotlin/lab-05/.idea/libraries/KotlinJavaRuntime.xml new file mode 100644 index 0000000..c76c711 --- /dev/null +++ b/works/Kotlin/lab-05/.idea/libraries/KotlinJavaRuntime.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-05/.idea/misc.xml b/works/Kotlin/lab-05/.idea/misc.xml new file mode 100644 index 0000000..4869cb0 --- /dev/null +++ b/works/Kotlin/lab-05/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-05/.idea/modules.xml b/works/Kotlin/lab-05/.idea/modules.xml new file mode 100644 index 0000000..5a1fcfd --- /dev/null +++ b/works/Kotlin/lab-05/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-05/.idea/vcs.xml b/works/Kotlin/lab-05/.idea/vcs.xml new file mode 100644 index 0000000..b2bdec2 --- /dev/null +++ b/works/Kotlin/lab-05/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-05/Readme.md b/works/Kotlin/lab-05/Readme.md new file mode 100644 index 0000000..4dbbf1f --- /dev/null +++ b/works/Kotlin/lab-05/Readme.md @@ -0,0 +1,67 @@ +# Лабораторная работа №5 +--- + +## Ключевой код +```kotlin + +fun main() { + println("=== ФОРМИРОВАНИЕ КОЛОДЫ ===") + + val deck: MutableList = mutableListOf() + var counter = 1 + repeat(3) { + print("Введите карту №$counter: ") + val card = readln() + deck.add(card) + counter++ + } + + println("Колода собрана (${deck.size} карт): ${deck.joinToString(", ")}") + + print("Какую карту сбросить? ") + val discardedCard = readln() + val wasDiscarded = deck.remove(discardedCard) + if (wasDiscarded) { + println("Карта '$discardedCard' сброшена. Осталось: ${deck.size}") + } else { + println("Карта '$discardedCard' не найдена в колоде.") + } + + println("\n=== АНАЛИЗ РУКИ ===") + + val hand = mapOf( + "Pikachu" to "Pokemon", + "Potion" to "Trainer", + "Fire Energy" to "Energy", + "Professor's Research" to "Trainer" + ) + + val trainerCards = hand.filter {it.value == "Trainer"} + val trainerNames = trainerCards.map { it.key } + println("Карт Тренеров в руке: ${trainerCards.size} (${trainerNames.joinToString(", ")})") + + val allCards = hand.map {it.key} + + val energyCount = hand.count {it.value == "Energy"} + println("Карт энергии в руке: $energyCount") + println("Содержимое руки: ${allCards.joinToString(", ")}") + + println("\n=== УЧЕТ РЕСУРСОВ ===") + + print("Сколько энергии прикрепить? ") + val energyToAttach = readln().toInt() + + val resources = mutableMapOf("Trainer" to 2, "Energy" to 1) + resources["Energy"] = resources.getValue("Energy") + energyToAttach + + println("Ресурсы на столе: ") + for ((type, count) in resources) { + println("$type: $count шт.") + } + + println("\n========================================") + println("ИТОГ: Колода: ${deck.size} карт | Рука: ${hand.size} карт | Энергия на столе: ${resources["Energy"]}") + println("========================================") +} +``` + diff --git a/works/Kotlin/lab-05/lab-05.iml b/works/Kotlin/lab-05/lab-05.iml new file mode 100644 index 0000000..43dd653 --- /dev/null +++ b/works/Kotlin/lab-05/lab-05.iml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-05/out/production/lab-05/META-INF/lab-05.kotlin_module b/works/Kotlin/lab-05/out/production/lab-05/META-INF/lab-05.kotlin_module new file mode 100644 index 0000000..5b2bd95 Binary files /dev/null and b/works/Kotlin/lab-05/out/production/lab-05/META-INF/lab-05.kotlin_module differ diff --git a/works/Kotlin/lab-05/out/production/lab-05/MainKt.class b/works/Kotlin/lab-05/out/production/lab-05/MainKt.class new file mode 100644 index 0000000..53f51de Binary files /dev/null and b/works/Kotlin/lab-05/out/production/lab-05/MainKt.class differ diff --git a/works/Kotlin/lab-05/src/Main.kt b/works/Kotlin/lab-05/src/Main.kt new file mode 100644 index 0000000..4fe1c34 --- /dev/null +++ b/works/Kotlin/lab-05/src/Main.kt @@ -0,0 +1,59 @@ +fun main() { + println("=== ФОРМИРОВАНИЕ КОЛОДЫ ===") + + val deck: MutableList = mutableListOf() + var counter = 1 + repeat(3) { + print("Введите карту №$counter: ") + val card = readln() + deck.add(card) + counter++ + } + + println("Колода собрана (${deck.size} карт): ${deck.joinToString(", ")}") + + print("Какую карту сбросить? ") + val discardedCard = readln() + val wasDiscarded = deck.remove(discardedCard) + if (wasDiscarded) { + println("Карта '$discardedCard' сброшена. Осталось: ${deck.size}") + } else { + println("Карта '$discardedCard' не найдена в колоде.") + } + + println("\n=== АНАЛИЗ РУКИ ===") + + val hand = mapOf( + "Pikachu" to "Pokemon", + "Potion" to "Trainer", + "Fire Energy" to "Energy", + "Professor's Research" to "Trainer" + ) + + val trainerCards = hand.filter {it.value == "Trainer"} + val trainerNames = trainerCards.map { it.key } + println("Карт Тренеров в руке: ${trainerCards.size} (${trainerNames.joinToString(", ")})") + + val allCards = hand.map {it.key} + + val energyCount = hand.count {it.value == "Energy"} + println("Карт энергии в руке: $energyCount") + println("Содержимое руки: ${allCards.joinToString(", ")}") + + println("\n=== УЧЕТ РЕСУРСОВ ===") + + print("Сколько энергии прикрепить? ") + val energyToAttach = readln().toInt() + + val resources = mutableMapOf("Trainer" to 2, "Energy" to 1) + resources["Energy"] = resources.getValue("Energy") + energyToAttach + + println("Ресурсы на столе: ") + for ((type, count) in resources) { + println("$type: $count шт.") + } + + println("\n========================================") + println("ИТОГ: Колода: ${deck.size} карт | Рука: ${hand.size} карт | Энергия на столе: ${resources["Energy"]}") + println("========================================") +} \ No newline at end of file diff --git a/works/Kotlin/lab-06/.gitignore b/works/Kotlin/lab-06/.gitignore new file mode 100644 index 0000000..3ddbf4c --- /dev/null +++ b/works/Kotlin/lab-06/.gitignore @@ -0,0 +1,32 @@ +### IntelliJ IDEA ### +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Kotlin ### +.kotlin + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/works/Kotlin/lab-06/.idea/.gitignore b/works/Kotlin/lab-06/.idea/.gitignore new file mode 100644 index 0000000..30cf57e --- /dev/null +++ b/works/Kotlin/lab-06/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/works/Kotlin/lab-06/.idea/inspectionProfiles/Project_Default.xml b/works/Kotlin/lab-06/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..df543e3 --- /dev/null +++ b/works/Kotlin/lab-06/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-06/.idea/kotlinc.xml b/works/Kotlin/lab-06/.idea/kotlinc.xml new file mode 100644 index 0000000..3777884 --- /dev/null +++ b/works/Kotlin/lab-06/.idea/kotlinc.xml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-06/.idea/libraries/KotlinJavaRuntime.xml b/works/Kotlin/lab-06/.idea/libraries/KotlinJavaRuntime.xml new file mode 100644 index 0000000..c76c711 --- /dev/null +++ b/works/Kotlin/lab-06/.idea/libraries/KotlinJavaRuntime.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-06/.idea/misc.xml b/works/Kotlin/lab-06/.idea/misc.xml new file mode 100644 index 0000000..02d5a90 --- /dev/null +++ b/works/Kotlin/lab-06/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-06/.idea/modules.xml b/works/Kotlin/lab-06/.idea/modules.xml new file mode 100644 index 0000000..b1c5a30 --- /dev/null +++ b/works/Kotlin/lab-06/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-06/.idea/vcs.xml b/works/Kotlin/lab-06/.idea/vcs.xml new file mode 100644 index 0000000..c2365ab --- /dev/null +++ b/works/Kotlin/lab-06/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-06/lab-06.iml b/works/Kotlin/lab-06/lab-06.iml new file mode 100644 index 0000000..43dd653 --- /dev/null +++ b/works/Kotlin/lab-06/lab-06.iml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-06/src/Main.kt b/works/Kotlin/lab-06/src/Main.kt new file mode 100644 index 0000000..870df52 --- /dev/null +++ b/works/Kotlin/lab-06/src/Main.kt @@ -0,0 +1,98 @@ + +fun calcDamage(power: Int, multiplier: Double = 1.0): Int = (power * multiplier).toInt() + +fun checkStatus(hp: Int): String { + return if (hp > 0) "В строю" else "Нокаут" +} + +fun printBattleLog( + attacker: String, + defender: String, + damage: Int +): Unit { + println("[БОЙ] $attacker атакует $defender и наносит $damage урона!") +} + +fun useTrainerCard( + cardName: String, + healAmount: Int = 20, + drawCards: Int = 0 +): Unit { + println( + "Применена карта '$cardName': восстанавливает $healAmount HP, " + + "берёт карт: $drawCards." + ) +} + +fun processTurn( + hp: Int, + damage: Int, + effect: (Int) -> Int +): Int { + val remainingHp = hp - damage + return effect(remainingHp) +} + +fun main() { + println("=== ИНИЦИАЛИЗАЦИЯ БОЯ ===") + + print("Введите имя вашего Покемона: ") + val pokemonName = readln() + + print("Введите стартовое HP (по умолчанию 60): ") + val startHp = readln().toIntOrNull() ?: 60 + + println() + + println("=== РАУНД 1: АТАКА И КРАТКИЕ ФУНКЦИИ ===") + + val defender = "Charizard" + val baseDamage = 20 + val weaknessMultiplier = 1.5 + + println("Атакующий: $pokemonName | Защищающийся: $defender") + println("Базовый урон: $baseDamage | Множитель слабости: $weaknessMultiplier") + + val damage = calcDamage(baseDamage, weaknessMultiplier) + printBattleLog(pokemonName, defender, damage) + + val charizardHp = 100 - damage + println("Статус $defender: ${checkStatus(charizardHp)}.") + + println() + + println("=== РАУНД 2: ИСПОЛЬЗОВАНИЕ КАРТ (ИМЕНОВАННЫЕ АРГУМЕНТЫ) ===") + + println("Применяем карту Potion:") + useTrainerCard("Potion") + + println("Применяем карту Professor's Research (только берутся карты):") + useTrainerCard( + cardName = "Professor's Research", + drawCards = 3 + ) + + println() + + println("=== РАУНД 3: ФУНКЦИЯ ВЫСШЕГО ПОРЯДКА И ЛЯМБДА ===") + + println("$defender наносит ответный урон!") + print("Введите полученный $pokemonName урон: ") + val receivedDamage = readln().toIntOrNull() ?: 0 + + println("Применяем зелье лечения (+15 HP) через лямбда-эффект...") + + val finalHp = processTurn( + hp = startHp, + damage = receivedDamage, + effect = { currentHp -> currentHp + 15 } + ) + + println("Итоговое HP $pokemonName после атаки и лечения: $finalHp") + println("Текущий статус $pokemonName: ${checkStatus(finalHp)}") + + println() + println("========================================") + println("ИТОГ БОЯ: Бой завершен успешно. Все функции выполнены.") + println("========================================") +} diff --git a/works/Kotlin/lab-07/.gitignore b/works/Kotlin/lab-07/.gitignore new file mode 100644 index 0000000..3ddbf4c --- /dev/null +++ b/works/Kotlin/lab-07/.gitignore @@ -0,0 +1,32 @@ +### IntelliJ IDEA ### +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Kotlin ### +.kotlin + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/works/Kotlin/lab-07/.idea/.gitignore b/works/Kotlin/lab-07/.idea/.gitignore new file mode 100644 index 0000000..30cf57e --- /dev/null +++ b/works/Kotlin/lab-07/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/works/Kotlin/lab-07/.idea/indexLayout.xml b/works/Kotlin/lab-07/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/works/Kotlin/lab-07/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-07/.idea/inspectionProfiles/Project_Default.xml b/works/Kotlin/lab-07/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..df543e3 --- /dev/null +++ b/works/Kotlin/lab-07/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-07/.idea/kotlinc.xml b/works/Kotlin/lab-07/.idea/kotlinc.xml new file mode 100644 index 0000000..3777884 --- /dev/null +++ b/works/Kotlin/lab-07/.idea/kotlinc.xml @@ -0,0 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-07/.idea/libraries/KotlinJavaRuntime.xml b/works/Kotlin/lab-07/.idea/libraries/KotlinJavaRuntime.xml new file mode 100644 index 0000000..c76c711 --- /dev/null +++ b/works/Kotlin/lab-07/.idea/libraries/KotlinJavaRuntime.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-07/.idea/misc.xml b/works/Kotlin/lab-07/.idea/misc.xml new file mode 100644 index 0000000..02d5a90 --- /dev/null +++ b/works/Kotlin/lab-07/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-07/.idea/modules.xml b/works/Kotlin/lab-07/.idea/modules.xml new file mode 100644 index 0000000..ef86a97 --- /dev/null +++ b/works/Kotlin/lab-07/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-07/.idea/projectSettingsUpdater.xml b/works/Kotlin/lab-07/.idea/projectSettingsUpdater.xml new file mode 100644 index 0000000..ef20cb0 --- /dev/null +++ b/works/Kotlin/lab-07/.idea/projectSettingsUpdater.xml @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-07/.idea/vcs.xml b/works/Kotlin/lab-07/.idea/vcs.xml new file mode 100644 index 0000000..c2365ab --- /dev/null +++ b/works/Kotlin/lab-07/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-07/7.6.png b/works/Kotlin/lab-07/7.6.png new file mode 100644 index 0000000..6d44652 Binary files /dev/null and b/works/Kotlin/lab-07/7.6.png differ diff --git a/works/Kotlin/lab-07/Readme.md b/works/Kotlin/lab-07/Readme.md new file mode 100644 index 0000000..3e4ec7c --- /dev/null +++ b/works/Kotlin/lab-07/Readme.md @@ -0,0 +1,40 @@ +# Task 1 +![Task 1.png](Task%201.png) + +## Контрольные вопросы +* ``!!`` - утверждение, что выражение не равно ``null`` +* Оператор ``!!`` это осознанный выбор отключить проверку null, но компилятор всеровно будет предупреждать об ошибки +* Я бы сказал что оператор ``!!`` является инструментом обнаружение ошибок и его лучше не вписывать в свой код если нет полной уверенности что значение не null + +# Task 2 +![Task 2.png](Task%202.png) + +# Task 3 +!![Task 3.png](Task%203.png) + +# Task 4 +![Task 4.png](Task%204.png) + +# Task 5 +![Task 5.1.png](Task%205.1.png) +![Task 5.2.png](Task%205.2.png) + +## Контрольный вопрос +* При проверке неизменяемой переменной (val) компилятор гарантирует, что её значение не поменяется внутри блока if, поэтому позволяет вызывать методы напрямую. Для изменяемой переменной (var) после присваивания null внутри блока умное приведение типа отключается, и код перестаёт компилироваться, так как другой поток или код ниже мог обнулить значение. + +# Task 6 +![Task 6.png](Task%206.png) + +## Контрольные вопрос +* Для очистки списка без счётчика используйте цикл ``while (list.removeLastOrNull() != null) {}``, который остановится, когда элементы закончатся + +# Task 7 +![Task 7.1.png](Task%207.1.png) +![Task 7.2.png](Task%207.2.png) +![Task 7.3.png](Task%207.3.png) +![Task 7.4.png](Task%207.4.png) +![Task 7.5.png](Task%207.5.png) +![Task 7.6.png](Task%207.6.png) + +# Task 8 +![Task 8.png](Task%208.png) \ No newline at end of file diff --git a/works/Kotlin/lab-07/Task 1.png b/works/Kotlin/lab-07/Task 1.png new file mode 100644 index 0000000..dff0b4a Binary files /dev/null and b/works/Kotlin/lab-07/Task 1.png differ diff --git a/works/Kotlin/lab-07/Task 2.png b/works/Kotlin/lab-07/Task 2.png new file mode 100644 index 0000000..b5e5d4f Binary files /dev/null and b/works/Kotlin/lab-07/Task 2.png differ diff --git a/works/Kotlin/lab-07/Task 3.png b/works/Kotlin/lab-07/Task 3.png new file mode 100644 index 0000000..be29a17 Binary files /dev/null and b/works/Kotlin/lab-07/Task 3.png differ diff --git a/works/Kotlin/lab-07/Task 4.png b/works/Kotlin/lab-07/Task 4.png new file mode 100644 index 0000000..372b34e Binary files /dev/null and b/works/Kotlin/lab-07/Task 4.png differ diff --git a/works/Kotlin/lab-07/Task 5.1.png b/works/Kotlin/lab-07/Task 5.1.png new file mode 100644 index 0000000..5970348 Binary files /dev/null and b/works/Kotlin/lab-07/Task 5.1.png differ diff --git a/works/Kotlin/lab-07/Task 5.2.png b/works/Kotlin/lab-07/Task 5.2.png new file mode 100644 index 0000000..013fcbe Binary files /dev/null and b/works/Kotlin/lab-07/Task 5.2.png differ diff --git a/works/Kotlin/lab-07/Task 6.png b/works/Kotlin/lab-07/Task 6.png new file mode 100644 index 0000000..32a0900 Binary files /dev/null and b/works/Kotlin/lab-07/Task 6.png differ diff --git a/works/Kotlin/lab-07/Task 7.1.png b/works/Kotlin/lab-07/Task 7.1.png new file mode 100644 index 0000000..860fe29 Binary files /dev/null and b/works/Kotlin/lab-07/Task 7.1.png differ diff --git a/works/Kotlin/lab-07/Task 7.2.png b/works/Kotlin/lab-07/Task 7.2.png new file mode 100644 index 0000000..3fcfeae Binary files /dev/null and b/works/Kotlin/lab-07/Task 7.2.png differ diff --git a/works/Kotlin/lab-07/Task 7.3.png b/works/Kotlin/lab-07/Task 7.3.png new file mode 100644 index 0000000..ad2bd58 Binary files /dev/null and b/works/Kotlin/lab-07/Task 7.3.png differ diff --git a/works/Kotlin/lab-07/Task 7.4.png b/works/Kotlin/lab-07/Task 7.4.png new file mode 100644 index 0000000..60df55d Binary files /dev/null and b/works/Kotlin/lab-07/Task 7.4.png differ diff --git a/works/Kotlin/lab-07/Task 7.5.png b/works/Kotlin/lab-07/Task 7.5.png new file mode 100644 index 0000000..022a823 Binary files /dev/null and b/works/Kotlin/lab-07/Task 7.5.png differ diff --git a/works/Kotlin/lab-07/Task 7.6.png b/works/Kotlin/lab-07/Task 7.6.png new file mode 100644 index 0000000..6356e88 Binary files /dev/null and b/works/Kotlin/lab-07/Task 7.6.png differ diff --git a/works/Kotlin/lab-07/Task 8.png b/works/Kotlin/lab-07/Task 8.png new file mode 100644 index 0000000..ea7baf2 Binary files /dev/null and b/works/Kotlin/lab-07/Task 8.png differ diff --git a/works/Kotlin/lab-07/Thumbs.db b/works/Kotlin/lab-07/Thumbs.db new file mode 100644 index 0000000..c7f8081 Binary files /dev/null and b/works/Kotlin/lab-07/Thumbs.db differ diff --git a/works/Kotlin/lab-07/lab-07.iml b/works/Kotlin/lab-07/lab-07.iml new file mode 100644 index 0000000..43dd653 --- /dev/null +++ b/works/Kotlin/lab-07/lab-07.iml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/works/Kotlin/lab-07/src/Main.kt b/works/Kotlin/lab-07/src/Main.kt new file mode 100644 index 0000000..05d1b66 --- /dev/null +++ b/works/Kotlin/lab-07/src/Main.kt @@ -0,0 +1,144 @@ +//TIP To Run code, press or +// click the icon in the gutter. +fun main() { + + // Task 1 + /* + val card: String? = null + println(card!!.length) // программа упадет с ошибкой NullPointerException + */ + + // Task 2 + /* + val cardA: String? = null + println("Длина карты A: ${cardA?.length ?: 0}") + + val cardB: String? = "Pikachu" + println("Длина карты B: ${cardB?.length ?: 0}") + + val cardC: String? = "" + println("Длина карты C: ${cardC?.length ?: 0}") +} + */ + + // Task 3 + // выведет "ASH" + /* + val rawName1: String? = " Ash " + val result1: String = rawName1?.trim()?.uppercase() ?: "ИМЯ НЕ УКАЗАНО" + println(result1) + + val rawName2: String? = null + val result2: String = rawName2?.trim()?.uppercase() ?: "ИМЯ НЕ УКАЗАНО" + println(result2) + + val rawName3: String? = " " + val result3: String = rawName3?.trim()?.uppercase() ?: "ИМЯ НЕ УКАЗАНО" + println("Результат для пробелов: '$result3'") + } + */ + + // Task 4 + /* + val energy: String? = "Fire Energy" + + if (energy != null) { + println("A: длина = ${energy.length}") + } else { + println("A: энергии нет") + } + energy?.let { + println("B: длина = ${it.length}") + } ?: println("B: энергии нет") + + + val emptyEnergy: String? = null + + if (emptyEnergy != null) { + println("A: длина = ${emptyEnergy.length}") + } else { + println("A: энергии нет") + } + + emptyEnergy?.let { + println("B: длина = ${it.length}") + } ?: println("B: энергии нет") + */ + + // Task 5 + /* + val input: String? = "Potion" + if (input != null) { + println(input.length) + println(input.uppercase()) + } + */ + /* + var mutableInput: String? = "Potion" + if (mutableInput != null) { + mutableInput = null + println(mutableInput.length) + } + */ + + // Task 6 + /* + val hand: MutableList = mutableListOf("Pikachu", "Potion") + + println(hand.getOrNull(10)) // null (индекс 10 за пределами списка) + println(hand.firstOrNull { it.length > 10 }) // null (длина "Pikachu" = 7, "Potion" = 6) + println(hand.lastOrNull()) // Potion (последний элемент) + println(hand.randomOrNull()) // Pikachu или Potion (случайный элемент) + + + hand.clear() + println(hand.lastOrNull()) // null (список пуст) + println(hand.randomOrNull()) // null (список пуст) + + val deck: MutableList = mutableListOf("A", "B", "C") + while (deck.removeLastOrNull() != null) { + + } + println("Колода пуста: ${deck.isEmpty()}") // Колода пуста: true + } + */ + + // Task 7 + /* + println("Сколько энергии прикрепить к покемону?") + val raw: String? = readlnOrNull() + val energy: Int = raw?.trim()?.toIntOrNull() ?: 0 + + if (energy <= 0) { + println("Прикреплено 0 энергии (ввод некорректен или пуст)") + } else { + println("Прикреплено $energy энергии") + } + */ + + // Task 8 + println("Введите имя карты (Enter — пропустить):") + val cardRaw: String? = readlnOrNull() + + println("Введите урон (Enter — по умолчанию 0):") + val damageRaw: String? = readlnOrNull() + + println("Введите бонус-множитель (Enter — по умолчанию 1):") + val bonusRaw: String? = readlnOrNull() + + val cardName: String = cardRaw?.trim()?.takeIf { it.isNotEmpty() } ?: "Безымянная карта" + val damage: Int = damageRaw?.trim()?.toIntOrNull() ?: 0 + val bonus: Double = bonusRaw?.trim()?.toDoubleOrNull() ?: 1.0 + + val finalDamage: Double = damage * bonus + + println("========================================") + println("ОТЧЁТ О ХОДЕ") + println("========================================") + println("Карта: $cardName") + println("Базовый урон: $damage") + println("Множитель: $bonus") + println("Итоговый урон: $finalDamage") + println("========================================") +} +