generated from admin/template
Compare commits
1
Commits
82481ebaec
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39b2d0fd85 |
Vendored
-3
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"dotnet.defaultSolution": "ClassLibrary1.sln"
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio Version 17
|
|
||||||
VisualStudioVersion = 17.0.31903.59
|
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClassLibrary1", "ClassLibrary1\ClassLibrary1.csproj", "{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Debug|x64 = Debug|x64
|
|
||||||
Debug|x86 = Debug|x86
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
Release|x64 = Release|x64
|
|
||||||
Release|x86 = Release|x86
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Debug|x64.ActiveCfg = Debug|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Debug|x64.Build.0 = Debug|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Debug|x86.ActiveCfg = Debug|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Debug|x86.Build.0 = Debug|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Release|x64.ActiveCfg = Release|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Release|x64.Build.0 = Release|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Release|x86.ActiveCfg = Release|Any CPU
|
|
||||||
{65F0C187-7590-4F90-9367-5E3CE3F2E6DD}.Release|x86.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
using System;
|
|
||||||
namespace Lab01
|
|
||||||
{
|
|
||||||
internal class Program
|
|
||||||
{
|
|
||||||
static void Main(string[] args)
|
|
||||||
{
|
|
||||||
// === ЗАДАНИЕ 1. Объявление переменных и статический вывод данных ===
|
|
||||||
string pokemonName = "Чармандер";
|
|
||||||
string elementType = "Огонь";
|
|
||||||
int level = 1;
|
|
||||||
int hp = 95;
|
|
||||||
|
|
||||||
Console.WriteLine("=== БАЗА ДАННЫХ ПОКЕМОНОВ ===");
|
|
||||||
Console.WriteLine($"Покемон: {pokemonName}");
|
|
||||||
Console.WriteLine($"Стихия: {elementType}");
|
|
||||||
Console.WriteLine($"Уровень: {level} | HP: {hp}\n");
|
|
||||||
|
|
||||||
// === ЗАДАНИЕ 2. Интерактивный ввод и динамическое формирование документов ===
|
|
||||||
Console.Write("Введите имя тренера: ");
|
|
||||||
string trainerName = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Write("Введите имя покемона: ");
|
|
||||||
pokemonName = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Write("Введите стихию: ");
|
|
||||||
elementType = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Write("Введите регион: ");
|
|
||||||
string regionName = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.WriteLine();
|
|
||||||
Console.WriteLine("****************************************");
|
|
||||||
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
|
|
||||||
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
|
|
||||||
Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]");
|
|
||||||
Console.WriteLine("****************************************");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net10.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"runtimeTarget": {
|
|
||||||
"name": ".NETCoreApp,Version=v10.0",
|
|
||||||
"signature": ""
|
|
||||||
},
|
|
||||||
"compilationOptions": {},
|
|
||||||
"targets": {
|
|
||||||
".NETCoreApp,Version=v10.0": {
|
|
||||||
"ClassLibrary1/1.0.0": {
|
|
||||||
"runtime": {
|
|
||||||
"ClassLibrary1.dll": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"libraries": {
|
|
||||||
"ClassLibrary1/1.0.0": {
|
|
||||||
"type": "project",
|
|
||||||
"serviceable": false,
|
|
||||||
"sha512": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,343 +0,0 @@
|
|||||||
{
|
|
||||||
"format": 1,
|
|
||||||
"restore": {
|
|
||||||
"C:\\Users\\hp\\Desktop\\College\\ClassLibrary1\\ClassLibrary1.csproj": {}
|
|
||||||
},
|
|
||||||
"projects": {
|
|
||||||
"C:\\Users\\hp\\Desktop\\College\\ClassLibrary1\\ClassLibrary1.csproj": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"restore": {
|
|
||||||
"projectUniqueName": "C:\\Users\\hp\\Desktop\\College\\ClassLibrary1\\ClassLibrary1.csproj",
|
|
||||||
"projectName": "ClassLibrary1",
|
|
||||||
"projectPath": "C:\\Users\\hp\\Desktop\\College\\ClassLibrary1\\ClassLibrary1.csproj",
|
|
||||||
"packagesPath": "C:\\Users\\hp\\.nuget\\packages\\",
|
|
||||||
"outputPath": "C:\\Users\\hp\\Desktop\\College\\ClassLibrary1\\obj\\",
|
|
||||||
"projectStyle": "PackageReference",
|
|
||||||
"configFilePaths": [
|
|
||||||
"C:\\Users\\hp\\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]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
<?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\hp\.nuget\packages\</NuGetPackageFolders>
|
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
||||||
<SourceRoot Include="C:\Users\hp\.nuget\packages\" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
// <autogenerated />
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v10.0", FrameworkDisplayName = ".NET 10.0")]
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <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("ClassLibrary1")]
|
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("ClassLibrary1")]
|
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("ClassLibrary1")]
|
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
9c591e48ff0bec0ff75c80e1e30a20afefb4de4fb7194f7c919c7d1e8f047352
|
|
||||||
-18
@@ -1,18 +0,0 @@
|
|||||||
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 = ClassLibrary1
|
|
||||||
build_property.ProjectDir = C:\Users\hp\Desktop\College\ClassLibrary1\
|
|
||||||
build_property.EnableComHosting =
|
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
|
||||||
build_property.EffectiveAnalysisLevelStyle = 10.0
|
|
||||||
build_property.EnableCodeStyleSeverity =
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// <auto-generated/>
|
|
||||||
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;
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
6c524e6a7794e277ed2351d27b0141e2a10feda73704b4133f62d3f789ffb54c
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
C:\Users\hp\Desktop\College\ClassLibrary1\bin\Debug\net10.0\ClassLibrary1.deps.json
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\bin\Debug\net10.0\ClassLibrary1.dll
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\bin\Debug\net10.0\ClassLibrary1.pdb
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\obj\Debug\net10.0\ClassLibrary1.GeneratedMSBuildEditorConfig.editorconfig
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\obj\Debug\net10.0\ClassLibrary1.AssemblyInfoInputs.cache
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\obj\Debug\net10.0\ClassLibrary1.AssemblyInfo.cs
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\obj\Debug\net10.0\ClassLibrary1.csproj.CoreCompileInputs.cache
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\obj\Debug\net10.0\ClassLibrary1.dll
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\obj\Debug\net10.0\refint\ClassLibrary1.dll
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\obj\Debug\net10.0\ClassLibrary1.pdb
|
|
||||||
C:\Users\hp\Desktop\College\ClassLibrary1\obj\Debug\net10.0\ref\ClassLibrary1.dll
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,348 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 4,
|
|
||||||
"targets": {
|
|
||||||
"net10.0": {}
|
|
||||||
},
|
|
||||||
"libraries": {},
|
|
||||||
"projectFileDependencyGroups": {
|
|
||||||
"net10.0": []
|
|
||||||
},
|
|
||||||
"packageFolders": {
|
|
||||||
"C:\\Users\\hp\\.nuget\\packages\\": {}
|
|
||||||
},
|
|
||||||
"project": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"restore": {
|
|
||||||
"projectUniqueName": "C:\\Users\\hp\\Desktop\\College\\ClassLibrary1\\ClassLibrary1.csproj",
|
|
||||||
"projectName": "ClassLibrary1",
|
|
||||||
"projectPath": "C:\\Users\\hp\\Desktop\\College\\ClassLibrary1\\ClassLibrary1.csproj",
|
|
||||||
"packagesPath": "C:\\Users\\hp\\.nuget\\packages\\",
|
|
||||||
"outputPath": "C:\\Users\\hp\\Desktop\\College\\ClassLibrary1\\obj\\",
|
|
||||||
"projectStyle": "PackageReference",
|
|
||||||
"configFilePaths": [
|
|
||||||
"C:\\Users\\hp\\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]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 2,
|
|
||||||
"dgSpecHash": "HVnEDjWxxS4=",
|
|
||||||
"success": true,
|
|
||||||
"projectFilePath": "C:\\Users\\hp\\Desktop\\College\\ClassLibrary1\\ClassLibrary1.csproj",
|
|
||||||
"expectedPackageFiles": [],
|
|
||||||
"logs": []
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,357 @@
|
|||||||
|
# Отчет по выполнению практической работа №2: Анатомия типов данных
|
||||||
|
**Цель работы:** Понять, как разные типы данных представляются в памяти на уровне битов, научиться "читать" числа с плавающей точкой, разобраться с переполнениями целых чисел и понять одну из самых коварных особенностей C/C++ — strict aliasing.
|
||||||
|
## Часть 1. Целые числа: знаковое представление и переполнение
|
||||||
|
|
||||||
|
### 1.1. Дополнительный код
|
||||||
|
|
||||||
|
### Цель задания
|
||||||
|
Определить
|
||||||
|
1. Почему `127 + 1` даёт `-128`, а не ошибку?
|
||||||
|
2. Сколько всего значений может хранить `int8_t`?
|
||||||
|
3. Почему у знакового типа диапазон "асимметричен" (-128..127, а не -127..127)?
|
||||||
|
### Исправленный код (C)
|
||||||
|
```c
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
void print_binary(uint8_t n) {
|
||||||
|
for (int i = 7; i >= 0; i--) {
|
||||||
|
printf("%d", (n >> i) & 1);
|
||||||
|
}
|
||||||
|
printf("\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
int8_t a = 5;
|
||||||
|
int8_t b = -5;
|
||||||
|
int8_t c = -128;
|
||||||
|
int8_t d = 127;
|
||||||
|
|
||||||
|
printf(" 5 = "); print_binary((uint8_t)a);
|
||||||
|
printf(" -5 = "); print_binary((uint8_t)b);
|
||||||
|
printf("-128 = "); print_binary((uint8_t)c);
|
||||||
|
printf(" 127 = "); print_binary((uint8_t)d);
|
||||||
|
|
||||||
|
// приводим (int8_t) вызовет 8-битное переполнение
|
||||||
|
printf("127 + 1 = %d\n", (int8_t)(d + 1));
|
||||||
|
printf("-128 - 1 = %d\n", (int8_t)(c - 1));
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Ответы на вопросы
|
||||||
|
1. В 8 битах 127 - это 0111 1111. Прибавление единицы дает 1000 0000. Старший бит стал 1 (знаковый), а по правилам дополнительного кода эта комбинация равна -128.
|
||||||
|
2. 256 (от -128 до +127).
|
||||||
|
3. Всего комбинаций $2^8 = 256$. Одна ушла под 0, 127 комбинаций - под положительные числа (1..127), а оставшиеся 128 комбинаций - под отрицательные (-128..-1)
|
||||||
|
|
||||||
|
### Результат
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Рисунок 1 – результат
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1.2. Ловушка сравнения знакового и беззнакового
|
||||||
|
|
||||||
|
### Цель задания
|
||||||
|
Посмотрите ассемблер в Godbolt при `-O0`. Найдите инструкцию `cmp`. Обратите внимание, что используется `ja` (jump if above, беззнаковое сравнение), а не `jg` (jump if greater, знаковое).
|
||||||
|
|
||||||
|
### Исходный код (C)
|
||||||
|
```c
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
int a = -1;
|
||||||
|
uint32_t b = 1;
|
||||||
|
|
||||||
|
if (a < b) {
|
||||||
|
printf("-1 меньше 1\n");
|
||||||
|
} else {
|
||||||
|
printf("-1 БОЛЬШЕ 1\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
printf("a как uint32_t = %u\n", (uint32_t)a);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Результат
|
||||||
|

|
||||||
|
|
||||||
|
Рисунок 2 – результат
|
||||||
|
|
||||||
|
cmp используется для сравнения двух операндов, но не сохраняет результат вычитания. Вместо этого она лишь выставляет флаги состояния в специальном регистре
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Часть 2. Числа с плавающей точкой: IEEE 754
|
||||||
|
### 2.1. Разбор числа вручную
|
||||||
|
|
||||||
|
|
||||||
|
### Цель задания
|
||||||
|
Понять структуру представления чисел с плавающей точкой по стандарту IEEE 754. Научиться извлекать знаковый бит, экспоненту и мантиссу из 32-битного значения float с помощью сдвигов и битовых масок, а также разобраться с представлениями особых значений.
|
||||||
|
|
||||||
|
### Исходный код (C)
|
||||||
|
```c
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
void analyze_float(float f) {
|
||||||
|
uint32_t bits;
|
||||||
|
memcpy(&bits, &f, sizeof(float)); // безопасный type punning
|
||||||
|
|
||||||
|
uint32_t sign = (bits >> 31) & 1;
|
||||||
|
uint32_t exp = (bits >> 23) & 0xFF;
|
||||||
|
uint32_t mant = bits & 0x7FFFFF;
|
||||||
|
|
||||||
|
printf("Float: %f\n", f);
|
||||||
|
printf("Hex bits: 0x%08X\n", bits);
|
||||||
|
printf("Sign: %u, Exp: %u (реальный: %d), Mantissa: 0x%06X\n",
|
||||||
|
sign, exp, (int)exp - 127, mant);
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
analyze_float(1.0f);
|
||||||
|
analyze_float(-1.0f);
|
||||||
|
analyze_float(0.1f);
|
||||||
|
analyze_float(3.14f);
|
||||||
|
analyze_float(1.0f / 0.0f); // +inf
|
||||||
|
analyze_float(0.0f / 0.0f); // NaN
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
**Вопросы для самопроверки:**
|
||||||
|
1. Как в IEEE 754 выглядит `1.0f`? 
|
||||||
|

|
||||||
|
Float: 1.000000, Hex bits: 0x3F800000, Mantissa: 0x000000
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
2. Почему `0.1f + 0.2f != 0.3f`?
|
||||||
|
Числа 0.1, 0.2 и 0.3 не кратны степеням двойки (типа $1/2, 1/4, 1/8$), поэтому в двоичной системе счисления они представляют собой бесконечные периодические дроби.
|
||||||
|
При сохранении в 23 бита мантиссы происходит округление, из-за чего накапливается погрешность
|
||||||
|
3. Что такое `NaN` и как он выглядит в битах?
|
||||||
|
|
||||||
|
Not a Number - это специальное значение, обозначающее неопределенный результат 
|
||||||
|
|
||||||
|
4. Почему существует **+0.0** и **-0.0**?
|
||||||
|
В числах с плавающей точкой самый первый бит всегда отвечает за знак 0 это плюс, 1 это минус. Когда все остальные биты числа становятся нулями, этот первый бит никуда не исчезает.
|
||||||
|
0 + нули = +0.0
|
||||||
|
1 + нули = -0.0. Знаковый бит хранится отдельно (0 плюс, 1 минус). Ноль получается при нулевой экспоненте и мантиссе, поэтому менять можно только знаковый бит
|
||||||
|
|
||||||
|
---
|
||||||
|
### 2.2. Посмотрим на `0.1f`
|
||||||
|
|
||||||
|
### Цель задания
|
||||||
|
Написать `return 0.2f;` и `return 0.3f;`. Сравните их hex-представления.Как выполняется `0.2f = 2 × 0.1f` точно на уровне битов?
|
||||||
|
|
||||||
|
### Исходный код (C)
|
||||||
|
```c
|
||||||
|
float test_01() { return 0.1f; }
|
||||||
|
float test_02() { return 0.2f; }
|
||||||
|
float test_03() { return 0.3f; }
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Результат компиляции
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
Рисунок 3 – результат
|
||||||
|
|
||||||
|
---
|
||||||
|
---
|
||||||
|
|
||||||
|
## Часть 3. Type Punning и Strict Aliasing
|
||||||
|
### 3.2. Демонстрация проблемы в Godbolt
|
||||||
|
### Цель задания
|
||||||
|
|
||||||
|
### Исправленый код (C)
|
||||||
|
```c
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
// Эта функция нарушает strict aliasing
|
||||||
|
int test_aliasing(int *ip, float *fp) {
|
||||||
|
*ip = 42; // 1. Записываем 42
|
||||||
|
*fp = 3.14f; // 2. Записываем float в ту же память
|
||||||
|
return *ip; // 3. Читаем int. Компилятор "знает", что оно равно 42!
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
float my_var = 0.0f;
|
||||||
|
|
||||||
|
// Мы намеренно обманываем компилятор, передавая адрес float как int*
|
||||||
|
int result = test_aliasing((int*)&my_var, &my_var);
|
||||||
|
|
||||||
|
printf("Result: %d\n", result);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Корректный вариант для проверки (добавилась ровно 1 строчка)
|
||||||
|
int good_aliassing(int *ip, float *fp) {
|
||||||
|
volatile int *vip = ip;
|
||||||
|
*ip = 42;
|
||||||
|
*fp = 3.14f;
|
||||||
|
return *vip;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Результат компиляции
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
**Эксперимент в Godbolt:**
|
||||||
|
1. Скомпилируйте с **`-O0`** — обе функции вернут одно и то же (компилятор "честно" читает память).
|
||||||
|
2. Скомпилируйте с **`-O2`** — `bad_aliassing` вернёт `42` **без повторного чтения из памяти**! Компилятор "запомнил", что `int*` и `float*` не могут указывать на одно место, и оптимизировал повторное чтение.
|
||||||
|
|
||||||
|
### Результат компиляции
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Задание
|
||||||
|
|
||||||
|
1. **Реализуйте свой `float`**: Напишите структуру из 3 полей (sign, exp, mantissa) и функцию, которая собирает из них `float` через union.
|
||||||
|
### Исходный код (C)
|
||||||
|
```c
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
// объединение для сборки float из битовых полей
|
||||||
|
typedef union {
|
||||||
|
float f;
|
||||||
|
struct {
|
||||||
|
uint32_t mantissa : 23; // 23 бита мантиссы
|
||||||
|
uint32_t exp : 8; // 8 бит экспоненты
|
||||||
|
uint32_t sign : 1; // 1 бит знака
|
||||||
|
} parts;
|
||||||
|
} CustomFloat;
|
||||||
|
|
||||||
|
// для сборки float из отдельных компонентов
|
||||||
|
float make_float(uint8_t sign, uint8_t exp, uint32_t mantissa) {
|
||||||
|
CustomFloat cf;
|
||||||
|
cf.parts.sign = sign;
|
||||||
|
cf.parts.exp = exp;
|
||||||
|
cf.parts.mantissa = mantissa;
|
||||||
|
return cf.f;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
// 1 число 1.0f (Sign: 0, Exp: 127, Mantissa: 0)
|
||||||
|
float f1 = make_float(0, 127, 0);
|
||||||
|
printf("make_float(0, 127, 0) = %f\n", f1);
|
||||||
|
|
||||||
|
// 2 отрицательное число -1.0f (Sign: 1, Exp: 127, Mantissa: 0)
|
||||||
|
float f2 = make_float(1, 127, 0);
|
||||||
|
printf("make_float(1, 127, 0) = %f\n", f2);
|
||||||
|
|
||||||
|
// 3 число 1.5f (Sign: 0, Exp: 127, Mantissa: 0x400000 = 0.5 в двоичном виде)
|
||||||
|
float f3 = make_float(0, 127, 0x400000);
|
||||||
|
printf("make_float(0, 127, 0x400000) = %f\n", f3);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
### Результат компиляции
|
||||||
|

|
||||||
|
|
||||||
|
struct внутри union использует битовые поля (: 23, : 8, : 1), чтобы точно уложить компоненты в 32-битный формат IEEE 754. В памяти компилятор размещает их в правильном порядке: сначала мантисса, затем экспонента, а в самом старшем 31-м бите - знак. Поскольку struct и float f находятся в одном union, запись значений в parts обновляет биты числа f без необходимости явных приведений типов.
|
||||||
|
|
||||||
|
2. **Детектор NaN**: Напишите функцию `int is_nan(float f)`, которая проверяет, является ли число NaN, используя только битовые операции.
|
||||||
|
### Исходный код (C)
|
||||||
|
```c
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
int is_nan(float f) {
|
||||||
|
uint32_t bits;
|
||||||
|
memcpy(&bits, &f, sizeof(bits));
|
||||||
|
|
||||||
|
// выделяем экспоненту (биты 23-30)
|
||||||
|
uint32_t exp = (bits >> 23) & 0xFF;
|
||||||
|
|
||||||
|
// выделяем мантиссу (младшие 23 бита)
|
||||||
|
uint32_t mantissa = bits & 0x7FFFFF;
|
||||||
|
|
||||||
|
// NaN
|
||||||
|
return (exp == 0xFF) && (mantissa != 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
float normal = 3.14f;
|
||||||
|
float inf = 1.0f / 0.0f;
|
||||||
|
float nan_val = 0.0f / 0.0f;
|
||||||
|
|
||||||
|
printf("is_nan(3.14) = %d\n", is_nan(normal)); // 0
|
||||||
|
printf("is_nan(+inf) = %d\n", is_nan(inf)); // 0
|
||||||
|
printf("is_nan(NaN) = %d\n", is_nan(nan_val)); // 1
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
### Результат компиляции
|
||||||
|

|
||||||
|
|
||||||
|
3. **Быстрый `isqrt`**: Изучите знаменитый "fast inverse square root" из Quake III (`0x5F3759DF`). Разберите, почему магическая константа именно такая.
|
||||||
|
|
||||||
|
### Исходный код (C)
|
||||||
|
```c
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
float Q_rsqrt(float number) {
|
||||||
|
uint32_t i;
|
||||||
|
float x2, y;
|
||||||
|
const float threehalfs = 1.5F;
|
||||||
|
|
||||||
|
x2 = number * 0.5F;
|
||||||
|
y = number;
|
||||||
|
|
||||||
|
// 1 чтение float как целое число
|
||||||
|
memcpy(&i, &y, sizeof(i));
|
||||||
|
|
||||||
|
// 2 битовая магия вычисление первого приближения
|
||||||
|
i = 0x5F3759DF - (i >> 1);
|
||||||
|
|
||||||
|
// 3 обратное превращение битов в float
|
||||||
|
memcpy(&y, &i, sizeof(y));
|
||||||
|
|
||||||
|
// 4 шаг метода Ньютона-Рафсона
|
||||||
|
y = y * (threehalfs - (x2 * y * y));
|
||||||
|
|
||||||
|
return y;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
float x = 16.0f;
|
||||||
|
|
||||||
|
// 1 / sqrt(16) = 1 / 4 = 0.25
|
||||||
|
float result = Q_rsqrt(x);
|
||||||
|
|
||||||
|
printf("1 / sqrt(%f) = %f\n", x, result);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
### Результат компиляции
|
||||||
|

|
||||||
|
Вся суть «магической константы» 0x5F3759DF сводится к тому, что она является зашифрованным результатом математической формулы, связывающей двоичный логарифм и битовое представление числа в стандарте IEEE 754.
|
||||||
|
|
||||||
|
---
|
||||||
|
### Вывод
|
||||||
|
В ходе работы изучены механизмы представления данных в C
|
||||||
|
Целые числа: хранятся в дополнительном коде. Из-за единого нуля диапазон int8_t асимметричен, а выхождение за границы вызывает циклическое переполнение.
|
||||||
|
Приведение типов: сравнение знаковых и беззнаковых типов превращает отрицательные числа в большие положительные из-за неявного приведения.
|
||||||
|
IEEE 754: float делится на знак, порядок и мантиссу. Это объясняет неточность десятичных дробей (например, 0.1f) и появление специальных значений (NaN, inf).
|
||||||
|
Strict Aliasing: чтение памяти через указатель другого типа это UB. Безопасный Type Punning выполняется через memcpy или union.
|
||||||
|
Битовые трюки: алгоритм Q_rsqrt показывает, как знание структуры float и константы 0x5F3759DF позволяет заменять деление и корень быстрыми битовыми сдвигами.
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
using System;
|
|
||||||
namespace Lab01
|
|
||||||
{
|
|
||||||
internal class Program
|
|
||||||
{
|
|
||||||
static void Main(string[] args)
|
|
||||||
{
|
|
||||||
// === ЗАДАНИЕ 1. Объявление переменных и статический вывод данных ===
|
|
||||||
string pokemonName = "Чармандер";
|
|
||||||
string elementType = "Огонь";
|
|
||||||
int level = 1;
|
|
||||||
int hp = 95;
|
|
||||||
|
|
||||||
Console.WriteLine("=== БАЗА ДАННЫХ ПОКЕМОНОВ ===");
|
|
||||||
Console.WriteLine($"Покемон: {pokemonName}");
|
|
||||||
Console.WriteLine($"Стихия: {elementType}");
|
|
||||||
Console.WriteLine($"Уровень: {level} | HP: {hp}\n");
|
|
||||||
|
|
||||||
// === ЗАДАНИЕ 2. Интерактивный ввод и динамическое формирование документов ===
|
|
||||||
Console.Write("Введите имя тренера: ");
|
|
||||||
string trainerName = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Write("Введите имя покемона: ");
|
|
||||||
pokemonName = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Write("Введите стихию: ");
|
|
||||||
elementType = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Write("Введите регион: ");
|
|
||||||
string regionName = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.WriteLine();
|
|
||||||
Console.WriteLine("****************************************");
|
|
||||||
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
|
|
||||||
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
|
|
||||||
Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]");
|
|
||||||
Console.WriteLine("****************************************");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
void print_binary(uint8_t n) {
|
||||||
|
for (int i = 7; i >= 0; i--) {
|
||||||
|
printf("%d", (n >> i) & 1);
|
||||||
|
}
|
||||||
|
printf("\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
int8_t a = 5;
|
||||||
|
int8_t b = -5;
|
||||||
|
int8_t c = -128;
|
||||||
|
int8_t d = 127;
|
||||||
|
|
||||||
|
printf(" 5 = "); print_binary((uint8_t)a);
|
||||||
|
printf(" -5 = "); print_binary((uint8_t)b);
|
||||||
|
printf("-128 = "); print_binary((uint8_t)c);
|
||||||
|
printf(" 127 = "); print_binary((uint8_t)d);
|
||||||
|
|
||||||
|
// приводим (int8_t) вызовет 8-битное переполнение
|
||||||
|
printf("127 + 1 = %d\n", (int8_t)(d + 1));
|
||||||
|
printf("-128 - 1 = %d\n", (int8_t)(c - 1));
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
int a = -1;
|
||||||
|
uint32_t b = 1;
|
||||||
|
|
||||||
|
if (a < b) {
|
||||||
|
printf("-1 меньше 1\n");
|
||||||
|
} else {
|
||||||
|
printf("-1 БОЛЬШЕ 1\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
printf("a как uint32_t = %u\n", (uint32_t)a);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
void analyze_float(float f) {
|
||||||
|
uint32_t bits;
|
||||||
|
memcpy(&bits, &f, sizeof(float)); // безопасный type punning
|
||||||
|
|
||||||
|
uint32_t sign = (bits >> 31) & 1;
|
||||||
|
uint32_t exp = (bits >> 23) & 0xFF;
|
||||||
|
uint32_t mant = bits & 0x7FFFFF;
|
||||||
|
|
||||||
|
printf("Float: %f\n", f);
|
||||||
|
printf("Hex bits: 0x%08X\n", bits);
|
||||||
|
printf("Sign: %u, Exp: %u (реальный: %d), Mantissa: 0x%06X\n",
|
||||||
|
sign, exp, (int)exp - 127, mant);
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
analyze_float(1.0f);
|
||||||
|
analyze_float(-1.0f);
|
||||||
|
analyze_float(0.1f);
|
||||||
|
analyze_float(3.14f);
|
||||||
|
analyze_float(1.0f / 0.0f); // +inf
|
||||||
|
analyze_float(0.0f / 0.0f); // NaN
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
float test_01() { return 0.1f; }
|
||||||
|
float test_02() { return 0.2f; }
|
||||||
|
float test_03() { return 0.3f; }
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
// Эта функция нарушает strict aliasing
|
||||||
|
int test_aliasing(int *ip, float *fp) {
|
||||||
|
*ip = 42; // 1. Записываем 42
|
||||||
|
*fp = 3.14f; // 2. Записываем float в ту же память
|
||||||
|
return *ip; // 3. Читаем int. Компилятор "знает", что оно равно 42!
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
float my_var = 0.0f;
|
||||||
|
|
||||||
|
// Мы намеренно обманываем компилятор, передавая адрес float как int*
|
||||||
|
int result = test_aliasing((int*)&my_var, &my_var);
|
||||||
|
|
||||||
|
printf("Result: %d\n", result);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Корректный вариант для проверки (добавилась ровно 1 строчка)
|
||||||
|
int good_aliassing(int *ip, float *fp) {
|
||||||
|
volatile int *vip = ip;
|
||||||
|
*ip = 42;
|
||||||
|
*fp = 3.14f;
|
||||||
|
return *vip;
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
// объединение для сборки float из битовых полей
|
||||||
|
typedef union {
|
||||||
|
float f;
|
||||||
|
struct {
|
||||||
|
uint32_t mantissa : 23; // 23 бита мантиссы
|
||||||
|
uint32_t exp : 8; // 8 бит экспоненты
|
||||||
|
uint32_t sign : 1; // 1 бит знака
|
||||||
|
} parts;
|
||||||
|
} CustomFloat;
|
||||||
|
|
||||||
|
// для сборки float из отдельных компонентов
|
||||||
|
float make_float(uint8_t sign, uint8_t exp, uint32_t mantissa) {
|
||||||
|
CustomFloat cf;
|
||||||
|
cf.parts.sign = sign;
|
||||||
|
cf.parts.exp = exp;
|
||||||
|
cf.parts.mantissa = mantissa;
|
||||||
|
return cf.f;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
// 1 число 1.0f (Sign: 0, Exp: 127, Mantissa: 0)
|
||||||
|
float f1 = make_float(0, 127, 0);
|
||||||
|
printf("make_float(0, 127, 0) = %f\n", f1);
|
||||||
|
|
||||||
|
// 2 отрицательное число -1.0f (Sign: 1, Exp: 127, Mantissa: 0)
|
||||||
|
float f2 = make_float(1, 127, 0);
|
||||||
|
printf("make_float(1, 127, 0) = %f\n", f2);
|
||||||
|
|
||||||
|
// 3 число 1.5f (Sign: 0, Exp: 127, Mantissa: 0x400000 = 0.5 в двоичном виде)
|
||||||
|
float f3 = make_float(0, 127, 0x400000);
|
||||||
|
printf("make_float(0, 127, 0x400000) = %f\n", f3);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
int is_nan(float f) {
|
||||||
|
uint32_t bits;
|
||||||
|
memcpy(&bits, &f, sizeof(bits));
|
||||||
|
|
||||||
|
// выделяем экспоненту (биты 23-30)
|
||||||
|
uint32_t exp = (bits >> 23) & 0xFF;
|
||||||
|
|
||||||
|
// выделяем мантиссу (младшие 23 бита)
|
||||||
|
uint32_t mantissa = bits & 0x7FFFFF;
|
||||||
|
|
||||||
|
// NaN
|
||||||
|
return (exp == 0xFF) && (mantissa != 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
float normal = 3.14f;
|
||||||
|
float inf = 1.0f / 0.0f;
|
||||||
|
float nan_val = 0.0f / 0.0f;
|
||||||
|
|
||||||
|
printf("is_nan(3.14) = %d\n", is_nan(normal)); // 0
|
||||||
|
printf("is_nan(+inf) = %d\n", is_nan(inf)); // 0
|
||||||
|
printf("is_nan(NaN) = %d\n", is_nan(nan_val)); // 1
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
float Q_rsqrt(float number) {
|
||||||
|
uint32_t i;
|
||||||
|
float x2, y;
|
||||||
|
const float threehalfs = 1.5F;
|
||||||
|
|
||||||
|
x2 = number * 0.5F;
|
||||||
|
y = number;
|
||||||
|
|
||||||
|
// 1 чтение float как целое число
|
||||||
|
memcpy(&i, &y, sizeof(i));
|
||||||
|
|
||||||
|
// 2 битовая магия вычисление первого приближения
|
||||||
|
i = 0x5F3759DF - (i >> 1);
|
||||||
|
|
||||||
|
// 3 обратное превращение битов в float
|
||||||
|
memcpy(&y, &i, sizeof(y));
|
||||||
|
|
||||||
|
// 4 шаг метода Ньютона-Рафсона
|
||||||
|
y = y * (threehalfs - (x2 * y * y));
|
||||||
|
|
||||||
|
return y;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
float x = 16.0f;
|
||||||
|
|
||||||
|
// 1 / sqrt(16) = 1 / 4 = 0.25
|
||||||
|
float result = Q_rsqrt(x);
|
||||||
|
|
||||||
|
printf("1 / sqrt(%f) = %f\n", x, result);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
fun main() {
|
|
||||||
// ЧАСТЬ 1. Проверка условий через if-else
|
|
||||||
println("=== ПРОВЕРКА СОСТОЯНИЯ ПОКЕМОНА ===")
|
|
||||||
|
|
||||||
print("Введите текущее HP: ")
|
|
||||||
val currentHpInput = readln().toIntOrNull() ?: 0
|
|
||||||
|
|
||||||
print("Введите количество энергии: ")
|
|
||||||
val energyAttachedInput = readln().toIntOrNull() ?: 0
|
|
||||||
|
|
||||||
println()
|
|
||||||
|
|
||||||
// 1.1 Классический if-else
|
|
||||||
if (currentHpInput <= 0) {
|
|
||||||
println("Покемон в нокауте.")
|
|
||||||
} else {
|
|
||||||
println("Покемон в строю и готов к бою.")
|
|
||||||
}
|
|
||||||
|
|
||||||
// 1.2 if-else как выражение
|
|
||||||
val attackStatus = if (energyAttachedInput >= 3) {
|
|
||||||
"Доступна атака 'Giga Impact'"
|
|
||||||
} else {
|
|
||||||
"Недостаточно ресурсов: требуется минимум 3 карты энергии"
|
|
||||||
}
|
|
||||||
println("Статус атаки: $attackStatus")
|
|
||||||
|
|
||||||
|
|
||||||
// ЧАСТЬ 2. Обработка типов и состояний через when
|
|
||||||
println("\n=== РОЗЫГРЫШ КАРТЫ ТРЕНЕРА ===")
|
|
||||||
|
|
||||||
print("Введите название карты Тренера: ")
|
|
||||||
val trainerCardInput = readln()
|
|
||||||
|
|
||||||
// 2.1 Классический when
|
|
||||||
print("Эффект: ")
|
|
||||||
when (trainerCardInput) {
|
|
||||||
"Potion" -> println("Лечение +30 HP.")
|
|
||||||
"Professor's Research" -> println("Добор 7 карт из колоды.")
|
|
||||||
"Switch" -> println("Замена активного Покемона.")
|
|
||||||
else -> println("Неизвестная карта Тренера.")
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
println("\n=== РАСЧЕТ СТИХИЙНОГО МНОЖИТЕЛЯ ===")
|
|
||||||
|
|
||||||
print("Введите стихию Покемона (Fire, Water, Grass): ")
|
|
||||||
val elementInput = readln()
|
|
||||||
|
|
||||||
// 2.2 when как выражение с многострочными блоками { }
|
|
||||||
val weaknessMultiplier: Double = when (elementInput) {
|
|
||||||
"Water" -> {
|
|
||||||
println("[Слабость к Электричеству]")
|
|
||||||
2.0
|
|
||||||
}
|
|
||||||
"Fire" -> {
|
|
||||||
println("[Слабость к Воде]")
|
|
||||||
1.5
|
|
||||||
}
|
|
||||||
"Grass" -> {
|
|
||||||
println("[Слабость к Огню]")
|
|
||||||
1.2
|
|
||||||
}
|
|
||||||
else -> {
|
|
||||||
println("[Базовый коэффициент]")
|
|
||||||
1.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
println()
|
|
||||||
print("Введите текущий % HP (0-100): ")
|
|
||||||
val hpPercent = readln().toIntOrNull() ?: 0
|
|
||||||
|
|
||||||
// 3.1 Безаргументный when
|
|
||||||
val healthState: String = when {
|
|
||||||
hpPercent == 0 -> "Нокаут"
|
|
||||||
hpPercent in 1..20 -> "Критическое состояние"
|
|
||||||
hpPercent in 21..70 -> "Поврежден"
|
|
||||||
else -> "Отличное состояние"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
println("\n========================================")
|
|
||||||
println("ИТОГОВЫЙ СТАТУС БОЯ:")
|
|
||||||
println("Множитель урона: x$weaknessMultiplier")
|
|
||||||
println("Категория здоровья: $healthState")
|
|
||||||
println("========================================")
|
|
||||||
}
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
using System;
|
|
||||||
namespace Lab01
|
|
||||||
{
|
|
||||||
internal class Program
|
|
||||||
{
|
|
||||||
static void Main(string[] args)
|
|
||||||
{
|
|
||||||
// === ЗАДАНИЕ 1. Объявление переменных и статический вывод данных ===
|
|
||||||
string pokemonName = "Чармандер";
|
|
||||||
string elementType = "Огонь";
|
|
||||||
int level = 1;
|
|
||||||
int hp = 95;
|
|
||||||
|
|
||||||
Console.WriteLine("=== БАЗА ДАННЫХ ПОКЕМОНОВ ===");
|
|
||||||
Console.WriteLine($"Покемон: {pokemonName}");
|
|
||||||
Console.WriteLine($"Стихия: {elementType}");
|
|
||||||
Console.WriteLine($"Уровень: {level} | HP: {hp}\n");
|
|
||||||
|
|
||||||
// === ЗАДАНИЕ 2. Интерактивный ввод и динамическое формирование документов ===
|
|
||||||
Console.Write("Введите имя тренера: ");
|
|
||||||
string trainerName = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Write("Введите имя покемона: ");
|
|
||||||
pokemonName = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Write("Введите стихию: ");
|
|
||||||
elementType = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.Write("Введите регион: ");
|
|
||||||
string regionName = Console.ReadLine();
|
|
||||||
|
|
||||||
Console.WriteLine();
|
|
||||||
Console.WriteLine("****************************************");
|
|
||||||
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
|
|
||||||
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
|
|
||||||
Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]");
|
|
||||||
Console.WriteLine("****************************************");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# Лабораторная работа C# №1
|
|
||||||
|
|
||||||
## 📌 Тема
|
|
||||||
Введение в язык C#. Структура программы, переменные, базовые типы данных и консольный ввод/вывод.
|
|
||||||
|
|
||||||
## 📝 Описание
|
|
||||||
Основы работы с консольным вводом и выводом данных (`Console.WriteLine`, `Console.ReadLine`), объявление переменных различных типов.
|
|
||||||
|
|
||||||
## 🚀 Код программы
|
|
||||||
Исходный код расположен в файле `Program.cs`.
|
|
||||||
@@ -1,89 +0,0 @@
|
|||||||
using System;
|
|
||||||
namespace Lab02
|
|
||||||
{
|
|
||||||
internal class Program
|
|
||||||
{
|
|
||||||
static void Main(string[] args)
|
|
||||||
{
|
|
||||||
// === БЛОК 1. Ввод данных и преобразование типов ===
|
|
||||||
|
|
||||||
// Задание 1.1: Расчёт характеристик покемона
|
|
||||||
Console.WriteLine("=== Прокачка покемона ===");
|
|
||||||
Console.Write("Введите базовое значение атаки: ");
|
|
||||||
int baseAttack = Convert.ToInt32(Console.ReadLine());
|
|
||||||
|
|
||||||
Console.Write("Введите количество полученных уровней: ");
|
|
||||||
int levels = Convert.ToInt32(Console.ReadLine());
|
|
||||||
|
|
||||||
int totalAttack = baseAttack + (levels * 5);
|
|
||||||
Console.WriteLine($"Итоговая атака: {totalAttack}\n");
|
|
||||||
|
|
||||||
// Задание 1.2: Расчёт стоимости зелий в магазине
|
|
||||||
int balance = 1500;
|
|
||||||
int potionPrice = 200;
|
|
||||||
|
|
||||||
Console.WriteLine($"Текущий баланс: {balance} монет.");
|
|
||||||
Console.Write("Сколько зелий лечения вы хотите купить? ");
|
|
||||||
int potionCount = Convert.ToInt32(Console.ReadLine());
|
|
||||||
|
|
||||||
int totalPrice = potionCount * potionPrice;
|
|
||||||
balance -= totalPrice;
|
|
||||||
|
|
||||||
Console.WriteLine($"Успешная покупка! Потрачено: {totalPrice} монет. Остаток баланса: {balance} монет.\n");
|
|
||||||
|
|
||||||
// === БЛОК 2. Условные операторы ===
|
|
||||||
|
|
||||||
// Задание 2.1: Проверка состояния покемона в бою
|
|
||||||
Console.Write("Введите текущее количество HP покемона: ");
|
|
||||||
int currentHp = Convert.ToInt32(Console.ReadLine());
|
|
||||||
|
|
||||||
if (currentHp <= 0)
|
|
||||||
{
|
|
||||||
Console.WriteLine("Покемон потерял сознание! Верните его в покебол.");
|
|
||||||
}
|
|
||||||
else if (currentHp >= 1 && currentHp <= 20)
|
|
||||||
{
|
|
||||||
Console.WriteLine("Критическое состояние! Срочно используйте зелье!");
|
|
||||||
}
|
|
||||||
else if (currentHp >= 21 && currentHp <= 50)
|
|
||||||
{
|
|
||||||
Console.WriteLine("Покемон ранен, будьте осторожны.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Console.WriteLine("Покемон полон сил и готов к бою!");
|
|
||||||
}
|
|
||||||
|
|
||||||
Console.WriteLine();
|
|
||||||
|
|
||||||
// Задание 2.2: Консольное меню боя (switch)
|
|
||||||
Console.WriteLine("=== МЕНЮ БОЯ ===");
|
|
||||||
Console.WriteLine("1 — Атака");
|
|
||||||
Console.WriteLine("2 — Инвентарь");
|
|
||||||
Console.WriteLine("3 — Сменить покемона");
|
|
||||||
Console.WriteLine("4 — Побег");
|
|
||||||
Console.Write("Выберите действие (1-4): ");
|
|
||||||
|
|
||||||
int action = Convert.ToInt32(Console.ReadLine());
|
|
||||||
|
|
||||||
switch (action)
|
|
||||||
{
|
|
||||||
case 1:
|
|
||||||
Console.WriteLine("Покемон наносит быстрый удар!");
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
Console.WriteLine("Вы открыли сумку и применили Зелье Лечения.");
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
Console.WriteLine("Вы отозвали покемона и выпустили нового!");
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
Console.WriteLine("Вы успешно сбежали из боя!");
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
Console.WriteLine("Неизвестная команда! Вы пропустили ход.");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# Лабораторная работа C# №2
|
|
||||||
|
|
||||||
## 📌 Тема
|
|
||||||
Преобразование типов данных (`Convert`, `Parse`) и математические операции в C#.
|
|
||||||
|
|
||||||
## 📝 Описание
|
|
||||||
Явное и неявное приведение типов, использование математических операторов, обработка чисел с плавающей точкой и форматированный вывод.
|
|
||||||
|
|
||||||
## 🚀 Код программы
|
|
||||||
Исходный код расположен в файле `Program.cs`.
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fun main() {
|
|
||||||
// Задание 2.1
|
|
||||||
val trainerName = "Эш Кетчум"
|
|
||||||
val homeRegion = "Канто"
|
|
||||||
val bages = 8
|
|
||||||
val pokedexCount = 150
|
|
||||||
|
|
||||||
println("=== БАЗА ДАННЫХ ТРЕНЕРОВ ===")
|
|
||||||
println("Тренер: $trainerName")
|
|
||||||
println("Родной регион: $homeRegion")
|
|
||||||
println("Значков: $bages | Покемонов в Покедексе: $pokedexCount")
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# Лабораторная работа Kotlin №1
|
|
||||||
|
|
||||||
## 📌 Тема
|
|
||||||
Введение в язык Kotlin. Переменные, базовые типы данных и консольный ввод/вывод информации.
|
|
||||||
|
|
||||||
## 📝 Задание 2.1
|
|
||||||
Вывод карточки тренера покемонов с базовой информацией.
|
|
||||||
|
|
||||||
## 🚀 Код программы
|
|
||||||
Файл с решением находится в `Main.kt`.
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
fun main() {
|
|
||||||
// --- ЗАДАНИЕ 1. Явное приведение типов (Casting) ---
|
|
||||||
print("Введите номер текущего хода: ")
|
|
||||||
val currentTurnInput = readln()
|
|
||||||
|
|
||||||
print("Введите количество энергии на столе: ")
|
|
||||||
val energyInput = readln()
|
|
||||||
|
|
||||||
print("Введите коэффициент усиления атаки: ")
|
|
||||||
val multiplierInput = readln()
|
|
||||||
|
|
||||||
val currentTurn: Int = currentTurnInput.toInt()
|
|
||||||
val energy: Int = energyInput.toInt()
|
|
||||||
val multiplier: Double = multiplierInput.toDouble()
|
|
||||||
|
|
||||||
println("\n=== ИНИЦИАЛИЗАЦИЯ ПАРАМЕТРОВ ХОДА ===")
|
|
||||||
println("Текущий ход: $currentTurn (тип Int)")
|
|
||||||
println("Доступно энергии: $energy (тип Int)")
|
|
||||||
println("Множитель урона: $multiplier (тип Double)\n")
|
|
||||||
|
|
||||||
// --- ЗАДАНИЕ 2. Математические операции ---
|
|
||||||
var cardsPlayed = 0
|
|
||||||
|
|
||||||
println("=== ХОД № $currentTurn ===")
|
|
||||||
println("Игрок выводит Покемона на активную позицию!")
|
|
||||||
cardsPlayed++
|
|
||||||
|
|
||||||
println()
|
|
||||||
print("Введите базовый урон покемона: ")
|
|
||||||
val baseDamage = readln().toInt()
|
|
||||||
println("Применена карта Тренера 'Леди из Центра Покемонов'!")
|
|
||||||
cardsPlayed += 1
|
|
||||||
|
|
||||||
println()
|
|
||||||
print("Сколько карт энергии прикрепить к Покемону? ")
|
|
||||||
val energyAttached = readln().toInt()
|
|
||||||
cardsPlayed += energyAttached
|
|
||||||
|
|
||||||
val finalDamage = baseDamage * multiplier
|
|
||||||
val turnCheck = currentTurn % 2
|
|
||||||
|
|
||||||
println("\n****************************************")
|
|
||||||
println("ОТЧЕТ О БОЕВОЙ ЭФФЕКТИВНОСТИ")
|
|
||||||
println("Тип хода (остаток % 2): $turnCheck")
|
|
||||||
println("Всего сыграно карт за ход: $cardsPlayed")
|
|
||||||
println("Базовый урон: $baseDamage | Коэффициент: $multiplier")
|
|
||||||
println("Итоговый урон по противнику: $finalDamage")
|
|
||||||
println("****************************************")
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# Лабораторная работа Kotlin №2
|
|
||||||
|
|
||||||
## 📌 Тема
|
|
||||||
Приведение типов данных (casting) и математические операции в языке Kotlin.
|
|
||||||
|
|
||||||
## 📝 Задания
|
|
||||||
1. **Явное приведение типов:** считывание параметров (`readln()`) и их кастинг к `Int` и `Double` с помощью `.toInt()` и `.toDouble()`.
|
|
||||||
2. **Математические операции:** симуляция действий хода, инкремент (`++`), составное присваивание (`+=`), вычисление остатка от деления (`%`) и расчет итогового урона.
|
|
||||||
|
|
||||||
## 🚀 Код программы
|
|
||||||
Файл с решением находится в `Main.kt`.
|
|
||||||
Reference in New Issue
Block a user