ababin 8 meses atrás
commit
1d81d3c1a7
34 arquivos alterados com 330 adições e 0 exclusões
  1. 13 0
      .idea/.idea.ConsoleApp18/.idea/.gitignore
  2. 4 0
      .idea/.idea.ConsoleApp18/.idea/encodings.xml
  3. 8 0
      .idea/.idea.ConsoleApp18/.idea/indexLayout.xml
  4. 16 0
      ConsoleApp18.sln
  5. 3 0
      ConsoleApp18/.gitignore
  6. 10 0
      ConsoleApp18/ConsoleApp18.csproj
  7. 23 0
      ConsoleApp18/Program.cs
  8. 23 0
      ConsoleApp18/bin/Debug/net7.0/ConsoleApp18.deps.json
  9. BIN
      ConsoleApp18/bin/Debug/net7.0/ConsoleApp18.dll
  10. BIN
      ConsoleApp18/bin/Debug/net7.0/ConsoleApp18.exe
  11. BIN
      ConsoleApp18/bin/Debug/net7.0/ConsoleApp18.pdb
  12. 9 0
      ConsoleApp18/bin/Debug/net7.0/ConsoleApp18.runtimeconfig.json
  13. 63 0
      ConsoleApp18/obj/ConsoleApp18.csproj.nuget.dgspec.json
  14. 15 0
      ConsoleApp18/obj/ConsoleApp18.csproj.nuget.g.props
  15. 2 0
      ConsoleApp18/obj/ConsoleApp18.csproj.nuget.g.targets
  16. 4 0
      ConsoleApp18/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs
  17. 22 0
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.AssemblyInfo.cs
  18. 1 0
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.AssemblyInfoInputs.cache
  19. 11 0
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.GeneratedMSBuildEditorConfig.editorconfig
  20. 8 0
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.GlobalUsings.g.cs
  21. BIN
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.assets.cache
  22. 1 0
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.csproj.CoreCompileInputs.cache
  23. 14 0
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.csproj.FileListAbsolute.txt
  24. BIN
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.dll
  25. 1 0
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.genruntimeconfig.cache
  26. BIN
      ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.pdb
  27. BIN
      ConsoleApp18/obj/Debug/net7.0/apphost.exe
  28. BIN
      ConsoleApp18/obj/Debug/net7.0/ref/ConsoleApp18.dll
  29. BIN
      ConsoleApp18/obj/Debug/net7.0/refint/ConsoleApp18.dll
  30. 68 0
      ConsoleApp18/obj/project.assets.json
  31. 8 0
      ConsoleApp18/obj/project.nuget.cache
  32. 1 0
      ConsoleApp18/obj/project.packagespec.json
  33. 1 0
      ConsoleApp18/obj/rider.project.model.nuget.info
  34. 1 0
      ConsoleApp18/obj/rider.project.restore.info

+ 13 - 0
.idea/.idea.ConsoleApp18/.idea/.gitignore

@@ -0,0 +1,13 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Rider ignored files
+/contentModel.xml
+/modules.xml
+/projectSettingsUpdater.xml
+/.idea.ConsoleApp18.iml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml

+ 4 - 0
.idea/.idea.ConsoleApp18/.idea/encodings.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
+</project>

+ 8 - 0
.idea/.idea.ConsoleApp18/.idea/indexLayout.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="UserContentModel">
+    <attachedFolders />
+    <explicitIncludes />
+    <explicitExcludes />
+  </component>
+</project>

+ 16 - 0
ConsoleApp18.sln

@@ -0,0 +1,16 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp18", "ConsoleApp18\ConsoleApp18.csproj", "{929EC989-1B11-4B2D-862A-F01278A9616A}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{929EC989-1B11-4B2D-862A-F01278A9616A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{929EC989-1B11-4B2D-862A-F01278A9616A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{929EC989-1B11-4B2D-862A-F01278A9616A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{929EC989-1B11-4B2D-862A-F01278A9616A}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+EndGlobal

+ 3 - 0
ConsoleApp18/.gitignore

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

+ 10 - 0
ConsoleApp18/ConsoleApp18.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>

+ 23 - 0
ConsoleApp18/Program.cs

@@ -0,0 +1,23 @@
+using System.Text.RegularExpressions;
+
+string num = @"^[A-Z]{1}\d{3}[A-Z]{2}$";
+
+Console.WriteLine("Введите номер:");
+
+while (true)
+{
+    string input = Console.ReadLine();
+    if (string.IsNullOrEmpty(input))
+    {
+        break;
+    }
+
+    if (Regex.IsMatch(input, num))
+    {
+        Console.WriteLine("Номер соответствует стандарту.");
+    }
+    else
+    {
+        Console.WriteLine("Номер не соответствует стандарту.");
+    }
+}   

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

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

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


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


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


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

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

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

@@ -0,0 +1,63 @@
+{
+  "format": 1,
+  "restore": {
+    "C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\ConsoleApp18.csproj": {}
+  },
+  "projects": {
+    "C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\ConsoleApp18.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\ConsoleApp18.csproj",
+        "projectName": "ConsoleApp18",
+        "projectPath": "C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\ConsoleApp18.csproj",
+        "packagesPath": "C:\\Users\\hardb\\.nuget\\packages\\",
+        "outputPath": "C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\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
ConsoleApp18/obj/ConsoleApp18.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.9.1</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\hardb\.nuget\packages\" />
+  </ItemGroup>
+</Project>

+ 2 - 0
ConsoleApp18/obj/ConsoleApp18.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" />

+ 4 - 0
ConsoleApp18/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")]

+ 22 - 0
ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.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("ConsoleApp18")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("ConsoleApp18")]
+[assembly: System.Reflection.AssemblyTitleAttribute("ConsoleApp18")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Создано классом WriteCodeFragment MSBuild.
+

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

@@ -0,0 +1 @@
+a1991e2522c26dd255f51f4e5409d392d7220c01

+ 11 - 0
ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.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 = ConsoleApp18
+build_property.ProjectDir = C:\Users\hardb\RiderProjects\ConsoleApp18\ConsoleApp18\

+ 8 - 0
ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.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
ConsoleApp18/obj/Debug/net7.0/ConsoleApp18.assets.cache


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

@@ -0,0 +1 @@
+52992e9fb8ed7bfa08f081657188bdeef9181b2c

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

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

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


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

@@ -0,0 +1 @@
+190f2c5fcbcb7d3e0fe5b77caf85514ceeb6ddd7

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


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


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


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


+ 68 - 0
ConsoleApp18/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\\ConsoleApp18\\ConsoleApp18\\ConsoleApp18.csproj",
+      "projectName": "ConsoleApp18",
+      "projectPath": "C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\ConsoleApp18.csproj",
+      "packagesPath": "C:\\Users\\hardb\\.nuget\\packages\\",
+      "outputPath": "C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\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
ConsoleApp18/obj/project.nuget.cache

@@ -0,0 +1,8 @@
+{
+  "version": 2,
+  "dgSpecHash": "oj+MkG9JzkIIkZyrWym9BKdvnb6t6c9+eTG7El/PqcDeYhlG1a0Imq1B38K5hF+LGqSOAs3/Twb6VcjYhjCbUA==",
+  "success": true,
+  "projectFilePath": "C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\ConsoleApp18.csproj",
+  "expectedPackageFiles": [],
+  "logs": []
+}

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

@@ -0,0 +1 @@
+"restore":{"projectUniqueName":"C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\ConsoleApp18.csproj","projectName":"ConsoleApp18","projectPath":"C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\ConsoleApp18.csproj","outputPath":"C:\\Users\\hardb\\RiderProjects\\ConsoleApp18\\ConsoleApp18\\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"}}

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

@@ -0,0 +1 @@
+17111311975076924

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

@@ -0,0 +1 @@
+17111311975076924