ababin 10 months ago
commit
1137180b2f
31 changed files with 352 additions and 0 deletions
  1. 13 0
      project1/Program.cs
  2. 23 0
      project1/bin/Debug/net7.0/project1.deps.json
  3. BIN
      project1/bin/Debug/net7.0/project1.dll
  4. BIN
      project1/bin/Debug/net7.0/project1.exe
  5. BIN
      project1/bin/Debug/net7.0/project1.pdb
  6. 9 0
      project1/bin/Debug/net7.0/project1.runtimeconfig.json
  7. 3 0
      project1/gitignore.txt
  8. 4 0
      project1/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs
  9. BIN
      project1/obj/Debug/net7.0/apphost.exe
  10. 22 0
      project1/obj/Debug/net7.0/project1.AssemblyInfo.cs
  11. 1 0
      project1/obj/Debug/net7.0/project1.AssemblyInfoInputs.cache
  12. 11 0
      project1/obj/Debug/net7.0/project1.GeneratedMSBuildEditorConfig.editorconfig
  13. 8 0
      project1/obj/Debug/net7.0/project1.GlobalUsings.g.cs
  14. BIN
      project1/obj/Debug/net7.0/project1.assets.cache
  15. 1 0
      project1/obj/Debug/net7.0/project1.csproj.CoreCompileInputs.cache
  16. 14 0
      project1/obj/Debug/net7.0/project1.csproj.FileListAbsolute.txt
  17. BIN
      project1/obj/Debug/net7.0/project1.dll
  18. 1 0
      project1/obj/Debug/net7.0/project1.genruntimeconfig.cache
  19. BIN
      project1/obj/Debug/net7.0/project1.pdb
  20. BIN
      project1/obj/Debug/net7.0/ref/project1.dll
  21. BIN
      project1/obj/Debug/net7.0/refint/project1.dll
  22. 68 0
      project1/obj/project.assets.json
  23. 8 0
      project1/obj/project.nuget.cache
  24. 1 0
      project1/obj/project.packagespec.json
  25. 63 0
      project1/obj/project1.csproj.nuget.dgspec.json
  26. 15 0
      project1/obj/project1.csproj.nuget.g.props
  27. 2 0
      project1/obj/project1.csproj.nuget.g.targets
  28. 1 0
      project1/obj/rider.project.model.nuget.info
  29. 1 0
      project1/obj/rider.project.restore.info
  30. 10 0
      project1/project1.csproj
  31. 73 0
      project1/readme.md

+ 13 - 0
project1/Program.cs

@@ -0,0 +1,13 @@
+Console.WriteLine("Введите три натуральных числа: ");
+int n = Convert.ToInt32(Console.ReadLine());
+int a = Convert.ToInt32(Console.ReadLine());
+int b = Convert.ToInt32(Console.ReadLine());
+if (n <= 100 && a <= 100 && b <= 100)
+{
+    int с = 2 * a * b * n;
+    Console.WriteLine("Результат: " + с);
+}
+else
+{
+    Console.WriteLine("Одно или несколько чисел превышают 100. Пожалуйста, введите числа до 100.");
+}

+ 23 - 0
project1/bin/Debug/net7.0/project1.deps.json

@@ -0,0 +1,23 @@
+{
+  "runtimeTarget": {
+    "name": ".NETCoreApp,Version=v7.0",
+    "signature": ""
+  },
+  "compilationOptions": {},
+  "targets": {
+    ".NETCoreApp,Version=v7.0": {
+      "project1/1.0.0": {
+        "runtime": {
+          "project1.dll": {}
+        }
+      }
+    }
+  },
+  "libraries": {
+    "project1/1.0.0": {
+      "type": "project",
+      "serviceable": false,
+      "sha512": ""
+    }
+  }
+}

BIN
project1/bin/Debug/net7.0/project1.dll


BIN
project1/bin/Debug/net7.0/project1.exe


BIN
project1/bin/Debug/net7.0/project1.pdb


+ 9 - 0
project1/bin/Debug/net7.0/project1.runtimeconfig.json

@@ -0,0 +1,9 @@
+{
+  "runtimeOptions": {
+    "tfm": "net7.0",
+    "framework": {
+      "name": "Microsoft.NETCore.App",
+      "version": "7.0.0"
+    }
+  }
+}

+ 3 - 0
project1/gitignore.txt

@@ -0,0 +1,3 @@
+*/bin/
+*/obj/
+.vs/

+ 4 - 0
project1/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs

@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

BIN
project1/obj/Debug/net7.0/apphost.exe


+ 22 - 0
project1/obj/Debug/net7.0/project1.AssemblyInfo.cs

@@ -0,0 +1,22 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("project1")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("project1")]
+[assembly: System.Reflection.AssemblyTitleAttribute("project1")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Создано классом WriteCodeFragment MSBuild.
+

+ 1 - 0
project1/obj/Debug/net7.0/project1.AssemblyInfoInputs.cache

@@ -0,0 +1 @@
+cffce7665cac98f98cfa66c51fb91f3281eb8b9a

+ 11 - 0
project1/obj/Debug/net7.0/project1.GeneratedMSBuildEditorConfig.editorconfig

@@ -0,0 +1,11 @@
+is_global = true
+build_property.TargetFramework = net7.0
+build_property.TargetPlatformMinVersion = 
+build_property.UsingMicrosoftNETSdkWeb = 
+build_property.ProjectTypeGuids = 
+build_property.InvariantGlobalization = 
+build_property.PlatformNeutralAssembly = 
+build_property.EnforceExtendedAnalyzerRules = 
+build_property._SupportedPlatformList = Linux,macOS,Windows
+build_property.RootNamespace = project1
+build_property.ProjectDir = C:\Users\hardb\RiderProjects\project1\project1\

+ 8 - 0
project1/obj/Debug/net7.0/project1.GlobalUsings.g.cs

@@ -0,0 +1,8 @@
+// <auto-generated/>
+global using global::System;
+global using global::System.Collections.Generic;
+global using global::System.IO;
+global using global::System.Linq;
+global using global::System.Net.Http;
+global using global::System.Threading;
+global using global::System.Threading.Tasks;

BIN
project1/obj/Debug/net7.0/project1.assets.cache


+ 1 - 0
project1/obj/Debug/net7.0/project1.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+320bb50ec6c6c0c5670c7634136e3396b7a1d303

+ 14 - 0
project1/obj/Debug/net7.0/project1.csproj.FileListAbsolute.txt

@@ -0,0 +1,14 @@
+C:\Users\hardb\RiderProjects\project1\project1\bin\Debug\net7.0\project1.exe
+C:\Users\hardb\RiderProjects\project1\project1\bin\Debug\net7.0\project1.deps.json
+C:\Users\hardb\RiderProjects\project1\project1\bin\Debug\net7.0\project1.runtimeconfig.json
+C:\Users\hardb\RiderProjects\project1\project1\bin\Debug\net7.0\project1.dll
+C:\Users\hardb\RiderProjects\project1\project1\bin\Debug\net7.0\project1.pdb
+C:\Users\hardb\RiderProjects\project1\project1\obj\Debug\net7.0\project1.GeneratedMSBuildEditorConfig.editorconfig
+C:\Users\hardb\RiderProjects\project1\project1\obj\Debug\net7.0\project1.AssemblyInfoInputs.cache
+C:\Users\hardb\RiderProjects\project1\project1\obj\Debug\net7.0\project1.AssemblyInfo.cs
+C:\Users\hardb\RiderProjects\project1\project1\obj\Debug\net7.0\project1.csproj.CoreCompileInputs.cache
+C:\Users\hardb\RiderProjects\project1\project1\obj\Debug\net7.0\project1.dll
+C:\Users\hardb\RiderProjects\project1\project1\obj\Debug\net7.0\refint\project1.dll
+C:\Users\hardb\RiderProjects\project1\project1\obj\Debug\net7.0\project1.pdb
+C:\Users\hardb\RiderProjects\project1\project1\obj\Debug\net7.0\project1.genruntimeconfig.cache
+C:\Users\hardb\RiderProjects\project1\project1\obj\Debug\net7.0\ref\project1.dll

BIN
project1/obj/Debug/net7.0/project1.dll


+ 1 - 0
project1/obj/Debug/net7.0/project1.genruntimeconfig.cache

@@ -0,0 +1 @@
+61a137467dd4fe8a4f349941ac3521b9cad5ded4

BIN
project1/obj/Debug/net7.0/project1.pdb


BIN
project1/obj/Debug/net7.0/ref/project1.dll


BIN
project1/obj/Debug/net7.0/refint/project1.dll


+ 68 - 0
project1/obj/project.assets.json

@@ -0,0 +1,68 @@
+{
+  "version": 3,
+  "targets": {
+    "net7.0": {}
+  },
+  "libraries": {},
+  "projectFileDependencyGroups": {
+    "net7.0": []
+  },
+  "packageFolders": {
+    "C:\\Users\\hardb\\.nuget\\packages\\": {}
+  },
+  "project": {
+    "version": "1.0.0",
+    "restore": {
+      "projectUniqueName": "C:\\Users\\hardb\\RiderProjects\\project1\\project1\\project1.csproj",
+      "projectName": "project1",
+      "projectPath": "C:\\Users\\hardb\\RiderProjects\\project1\\project1\\project1.csproj",
+      "packagesPath": "C:\\Users\\hardb\\.nuget\\packages\\",
+      "outputPath": "C:\\Users\\hardb\\RiderProjects\\project1\\project1\\obj\\",
+      "projectStyle": "PackageReference",
+      "configFilePaths": [
+        "C:\\Users\\hardb\\AppData\\Roaming\\NuGet\\NuGet.Config",
+        "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+      ],
+      "originalTargetFrameworks": [
+        "net7.0"
+      ],
+      "sources": {
+        "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+        "https://api.nuget.org/v3/index.json": {}
+      },
+      "frameworks": {
+        "net7.0": {
+          "targetAlias": "net7.0",
+          "projectReferences": {}
+        }
+      },
+      "warningProperties": {
+        "warnAsError": [
+          "NU1605"
+        ]
+      }
+    },
+    "frameworks": {
+      "net7.0": {
+        "targetAlias": "net7.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\\7.0.400\\RuntimeIdentifierGraph.json"
+      }
+    }
+  }
+}

+ 8 - 0
project1/obj/project.nuget.cache

@@ -0,0 +1,8 @@
+{
+  "version": 2,
+  "dgSpecHash": "y1i8cW381JZ29KeCN8ZaJECr6EzOJTqF1XinzTN3y/NN0GzXuT/qBst6Cyn09IhrQT+L1e5NYSwNglWl28VF5Q==",
+  "success": true,
+  "projectFilePath": "C:\\Users\\hardb\\RiderProjects\\project1\\project1\\project1.csproj",
+  "expectedPackageFiles": [],
+  "logs": []
+}

+ 1 - 0
project1/obj/project.packagespec.json

@@ -0,0 +1 @@
+"restore":{"projectUniqueName":"C:\\Users\\hardb\\RiderProjects\\project1\\project1\\project1.csproj","projectName":"project1","projectPath":"C:\\Users\\hardb\\RiderProjects\\project1\\project1\\project1.csproj","outputPath":"C:\\Users\\hardb\\RiderProjects\\project1\\project1\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["net7.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net7.0":{"targetAlias":"net7.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net7.0":{"targetAlias":"net7.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\\7.0.400\\RuntimeIdentifierGraph.json"}}

+ 63 - 0
project1/obj/project1.csproj.nuget.dgspec.json

@@ -0,0 +1,63 @@
+{
+  "format": 1,
+  "restore": {
+    "C:\\Users\\hardb\\RiderProjects\\project1\\project1\\project1.csproj": {}
+  },
+  "projects": {
+    "C:\\Users\\hardb\\RiderProjects\\project1\\project1\\project1.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "C:\\Users\\hardb\\RiderProjects\\project1\\project1\\project1.csproj",
+        "projectName": "project1",
+        "projectPath": "C:\\Users\\hardb\\RiderProjects\\project1\\project1\\project1.csproj",
+        "packagesPath": "C:\\Users\\hardb\\.nuget\\packages\\",
+        "outputPath": "C:\\Users\\hardb\\RiderProjects\\project1\\project1\\obj\\",
+        "projectStyle": "PackageReference",
+        "configFilePaths": [
+          "C:\\Users\\hardb\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net7.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net7.0": {
+            "targetAlias": "net7.0",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net7.0": {
+          "targetAlias": "net7.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\\7.0.400\\RuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 15 - 0
project1/obj/project1.csproj.nuget.g.props

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\hardb\.nuget\packages\</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.0</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\hardb\.nuget\packages\" />
+  </ItemGroup>
+</Project>

+ 2 - 0
project1/obj/project1.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 1 - 0
project1/obj/rider.project.model.nuget.info

@@ -0,0 +1 @@
+17059431124486207

+ 1 - 0
project1/obj/rider.project.restore.info

@@ -0,0 +1 @@
+17059431124486207

+ 10 - 0
project1/project1.csproj

@@ -0,0 +1,10 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+    <PropertyGroup>
+        <OutputType>Exe</OutputType>
+        <TargetFramework>net7.0</TargetFramework>
+        <ImplicitUsings>enable</ImplicitUsings>
+        <Nullable>enable</Nullable>
+    </PropertyGroup>
+
+</Project>

+ 73 - 0
project1/readme.md

@@ -0,0 +1,73 @@
+Эния №195
+Console.WriteLine("Введите три натуральных числа: ");
+int n = Convert.ToInt32(Console.ReadLine());
+int a = Convert.ToInt32(Console.ReadLine());
+int b = Convert.ToInt32(Console.ReadLine());
+if (n <= 100 && a <= 100 && b <= 100)
+{
+    int с = 2 * a * b * n;
+    Console.WriteLine("Результат: " + с);
+}
+else
+{
+    Console.WriteLine("Одно или несколько чисел превышают 100. Пожалуйста, введите числа до 100.");
+}
+
+Два бандита №33
+public class Program
+{
+    static void Main(string[] args)
+    {
+        int a, b, c = 10;
+        a = int.Parse(Console.ReadLine());
+        b = int.Parse(Console.ReadLine());
+        a = c - a;
+        b = c - b;
+        Console.WriteLine($"{a} {b}");
+    }
+}
+
+Больше-меньше №25
+public class Program
+{
+    static void Main(string[] args)
+    {
+        int a, b;
+        a = int.Parse(Console.ReadLine());
+        b = int.Parse(Console.ReadLine());
+
+        if (a < b)
+        {
+            Console.WriteLine("<");
+        }
+        else if (a > b)
+        {
+            Console.WriteLine(">");
+        }
+        else
+        {
+            Console.WriteLine("=");
+        }
+    }
+}
+
+A+B №1
+int num1 = Convert.ToInt16(Console.ReadLine());
+int num2 = Convert.ToInt16(Console.ReadLine());
+int num3 = num1 + num2;
+Console.WriteLine(num3);
+
+Пятью пять №3
+int number;
+Console.WriteLine("Введите число, оканчивающееся на 5, которое хотите возвести в квадрат:");
+number = int.Parse(Console.ReadLine());
+
+if (number % 10 == 5)
+{
+    int result = number * number;
+    Console.WriteLine("Ответ: " + result);
+}
+else
+{
+    Console.WriteLine("Введено некорректное число.");
+}