theme changed
This commit is contained in:
16
labs/lab1_done/TriangleApp/Program.cs
Normal file
16
labs/lab1_done/TriangleApp/Program.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
class TriangleArea
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
Console.WriteLine("enter perimeter: ");
|
||||
double p = double.Parse(Console.ReadLine(), CultureInfo.InvariantCulture);
|
||||
double a = p / 3.0;
|
||||
double s = Math.Sqrt((1.5 * a) * (0.5 * a) * (0.5 * a) * (0.5 * a));
|
||||
Console.WriteLine("side\tarea");
|
||||
Console.WriteLine("{0}\t{1}", a.ToString("F2", CultureInfo.InvariantCulture), s.ToString("F2", CultureInfo.InvariantCulture));
|
||||
}
|
||||
}
|
||||
|
||||
10
labs/lab1_done/TriangleApp/TriangleApp.csproj
Normal file
10
labs/lab1_done/TriangleApp/TriangleApp.csproj
Normal file
@@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
BIN
labs/lab1_done/TriangleApp/bin/Debug/net9.0/TriangleApp
Executable file
BIN
labs/lab1_done/TriangleApp/bin/Debug/net9.0/TriangleApp
Executable file
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v9.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v9.0": {
|
||||
"TriangleApp/1.0.0": {
|
||||
"runtime": {
|
||||
"TriangleApp.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"TriangleApp/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
labs/lab1_done/TriangleApp/bin/Debug/net9.0/TriangleApp.dll
Normal file
BIN
labs/lab1_done/TriangleApp/bin/Debug/net9.0/TriangleApp.dll
Normal file
Binary file not shown.
BIN
labs/lab1_done/TriangleApp/bin/Debug/net9.0/TriangleApp.pdb
Normal file
BIN
labs/lab1_done/TriangleApp/bin/Debug/net9.0/TriangleApp.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net9.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "9.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]
|
||||
@@ -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("TriangleApp")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+926cf4a99659f7dc311340c32c3fb405f373ada2")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("TriangleApp")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("TriangleApp")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
b533f4fb065fa97896a892c19f7629d2f9857969728af573e3971964a6e9c9e6
|
||||
@@ -0,0 +1,15 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net9.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 = TriangleApp
|
||||
build_property.ProjectDir = /home/nik/oop/labs/lab1/TriangleApp/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 9.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
@@ -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;
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
b911b7c3d3fe4bc614dacedf3a9b69342550d0f1c9cd816816c9b46b1ce5c093
|
||||
@@ -0,0 +1,14 @@
|
||||
/home/nik/oop/labs/lab1/TriangleApp/bin/Debug/net9.0/TriangleApp
|
||||
/home/nik/oop/labs/lab1/TriangleApp/bin/Debug/net9.0/TriangleApp.deps.json
|
||||
/home/nik/oop/labs/lab1/TriangleApp/bin/Debug/net9.0/TriangleApp.runtimeconfig.json
|
||||
/home/nik/oop/labs/lab1/TriangleApp/bin/Debug/net9.0/TriangleApp.dll
|
||||
/home/nik/oop/labs/lab1/TriangleApp/bin/Debug/net9.0/TriangleApp.pdb
|
||||
/home/nik/oop/labs/lab1/TriangleApp/obj/Debug/net9.0/TriangleApp.GeneratedMSBuildEditorConfig.editorconfig
|
||||
/home/nik/oop/labs/lab1/TriangleApp/obj/Debug/net9.0/TriangleApp.AssemblyInfoInputs.cache
|
||||
/home/nik/oop/labs/lab1/TriangleApp/obj/Debug/net9.0/TriangleApp.AssemblyInfo.cs
|
||||
/home/nik/oop/labs/lab1/TriangleApp/obj/Debug/net9.0/TriangleApp.csproj.CoreCompileInputs.cache
|
||||
/home/nik/oop/labs/lab1/TriangleApp/obj/Debug/net9.0/TriangleApp.dll
|
||||
/home/nik/oop/labs/lab1/TriangleApp/obj/Debug/net9.0/refint/TriangleApp.dll
|
||||
/home/nik/oop/labs/lab1/TriangleApp/obj/Debug/net9.0/TriangleApp.pdb
|
||||
/home/nik/oop/labs/lab1/TriangleApp/obj/Debug/net9.0/TriangleApp.genruntimeconfig.cache
|
||||
/home/nik/oop/labs/lab1/TriangleApp/obj/Debug/net9.0/ref/TriangleApp.dll
|
||||
BIN
labs/lab1_done/TriangleApp/obj/Debug/net9.0/TriangleApp.dll
Normal file
BIN
labs/lab1_done/TriangleApp/obj/Debug/net9.0/TriangleApp.dll
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
2e2b9dcdf7eaf33cc02d043acb679faf95753cf25775b025556cec5e7a7bcff2
|
||||
BIN
labs/lab1_done/TriangleApp/obj/Debug/net9.0/TriangleApp.pdb
Normal file
BIN
labs/lab1_done/TriangleApp/obj/Debug/net9.0/TriangleApp.pdb
Normal file
Binary file not shown.
BIN
labs/lab1_done/TriangleApp/obj/Debug/net9.0/apphost
Executable file
BIN
labs/lab1_done/TriangleApp/obj/Debug/net9.0/apphost
Executable file
Binary file not shown.
BIN
labs/lab1_done/TriangleApp/obj/Debug/net9.0/ref/TriangleApp.dll
Normal file
BIN
labs/lab1_done/TriangleApp/obj/Debug/net9.0/ref/TriangleApp.dll
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/nik/oop/labs/lab1/TriangleApp/TriangleApp.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/nik/oop/labs/lab1/TriangleApp/TriangleApp.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/nik/oop/labs/lab1/TriangleApp/TriangleApp.csproj",
|
||||
"projectName": "TriangleApp",
|
||||
"projectPath": "/home/nik/oop/labs/lab1/TriangleApp/TriangleApp.csproj",
|
||||
"packagesPath": "/home/nik/.nuget/packages/",
|
||||
"outputPath": "/home/nik/oop/labs/lab1/TriangleApp/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/nik/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net9.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "9.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[9.0.8, 9.0.8]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.109/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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)' == '' ">/home/nik/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/nik/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.4</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/nik/.nuget/packages/" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -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" />
|
||||
78
labs/lab1_done/TriangleApp/obj/project.assets.json
Normal file
78
labs/lab1_done/TriangleApp/obj/project.assets.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net9.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net9.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"/home/nik/.nuget/packages/": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/nik/oop/labs/lab1/TriangleApp/TriangleApp.csproj",
|
||||
"projectName": "TriangleApp",
|
||||
"projectPath": "/home/nik/oop/labs/lab1/TriangleApp/TriangleApp.csproj",
|
||||
"packagesPath": "/home/nik/.nuget/packages/",
|
||||
"outputPath": "/home/nik/oop/labs/lab1/TriangleApp/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/nik/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net9.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "9.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[9.0.8, 9.0.8]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.109/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
10
labs/lab1_done/TriangleApp/obj/project.nuget.cache
Normal file
10
labs/lab1_done/TriangleApp/obj/project.nuget.cache
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "xq80s485UeU=",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/nik/oop/labs/lab1/TriangleApp/TriangleApp.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/nik/.nuget/packages/microsoft.aspnetcore.app.ref/9.0.8/microsoft.aspnetcore.app.ref.9.0.8.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
Reference in New Issue
Block a user