Initial commit

This commit is contained in:
La Programmatrice Verde 2024-10-23 08:58:26 +02:00
commit fc321dd06f
26 changed files with 307 additions and 0 deletions

22
Program.cs Normal file
View File

@ -0,0 +1,22 @@
// See https://aka.ms/new-console-template for more information
int voto, sufficiente=6, buono=8, distinto=9, ottimo=10;
Console.Write("Inserire il voto: ");
voto=Convert.ToInt32(Console.ReadLine());
if(voto<0 || voto>ottimo){
Console.WriteLine("Il voto inserito non è valido.");
}
else if (voto>=sufficiente && voto<buono){
Console.WriteLine("Il voto è sufficiente.");
}
else if (voto==buono){
Console.WriteLine("Il voto è buono.");
}
else if (voto==distinto){
Console.WriteLine("Il voto è distinto.");
}
else if (voto==ottimo){
Console.WriteLine("Il voto è ottimo.");
}
else if (voto<sufficiente){
Console.WriteLine("il voto è insufficiente.");
}

10
VotiChecker.csproj Normal file
View File

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

BIN
bin/Debug/net8.0/VotiChecker Executable file

Binary file not shown.

View File

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

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

View File

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

View File

@ -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("VotiChecker")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("VotiChecker")]
[assembly: System.Reflection.AssemblyTitleAttribute("VotiChecker")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -0,0 +1 @@
69f83e23456956784159573b8148c73ed1e68da0530027883395660f17aead42

View File

@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.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 = VotiChecker
build_property.ProjectDir = /home/BrainTheBest5/Scrivania/VotiChecker/
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

View File

@ -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.

View File

@ -0,0 +1 @@
fbf5be04b42ca71f588d66395ed194ec626bd4db3a1313ee419ac021ea069ead

View File

@ -0,0 +1,14 @@
/home/BrainTheBest5/Scrivania/VotiChecker/bin/Debug/net8.0/VotiChecker
/home/BrainTheBest5/Scrivania/VotiChecker/bin/Debug/net8.0/VotiChecker.deps.json
/home/BrainTheBest5/Scrivania/VotiChecker/bin/Debug/net8.0/VotiChecker.runtimeconfig.json
/home/BrainTheBest5/Scrivania/VotiChecker/bin/Debug/net8.0/VotiChecker.dll
/home/BrainTheBest5/Scrivania/VotiChecker/bin/Debug/net8.0/VotiChecker.pdb
/home/BrainTheBest5/Scrivania/VotiChecker/obj/Debug/net8.0/VotiChecker.GeneratedMSBuildEditorConfig.editorconfig
/home/BrainTheBest5/Scrivania/VotiChecker/obj/Debug/net8.0/VotiChecker.AssemblyInfoInputs.cache
/home/BrainTheBest5/Scrivania/VotiChecker/obj/Debug/net8.0/VotiChecker.AssemblyInfo.cs
/home/BrainTheBest5/Scrivania/VotiChecker/obj/Debug/net8.0/VotiChecker.csproj.CoreCompileInputs.cache
/home/BrainTheBest5/Scrivania/VotiChecker/obj/Debug/net8.0/VotiChecker.dll
/home/BrainTheBest5/Scrivania/VotiChecker/obj/Debug/net8.0/refint/VotiChecker.dll
/home/BrainTheBest5/Scrivania/VotiChecker/obj/Debug/net8.0/VotiChecker.pdb
/home/BrainTheBest5/Scrivania/VotiChecker/obj/Debug/net8.0/VotiChecker.genruntimeconfig.cache
/home/BrainTheBest5/Scrivania/VotiChecker/obj/Debug/net8.0/ref/VotiChecker.dll

Binary file not shown.

View File

@ -0,0 +1 @@
8549b49419ea5f052353b697a8027743addfac9ce2be47684170a905bad28a31

Binary file not shown.

BIN
obj/Debug/net8.0/apphost Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,72 @@
{
"format": 1,
"restore": {
"/home/BrainTheBest5/Scrivania/VotiChecker/VotiChecker.csproj": {}
},
"projects": {
"/home/BrainTheBest5/Scrivania/VotiChecker/VotiChecker.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/BrainTheBest5/Scrivania/VotiChecker/VotiChecker.csproj",
"projectName": "VotiChecker",
"projectPath": "/home/BrainTheBest5/Scrivania/VotiChecker/VotiChecker.csproj",
"packagesPath": "/home/BrainTheBest5/.nuget/packages/",
"outputPath": "/home/BrainTheBest5/Scrivania/VotiChecker/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/BrainTheBest5/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[8.0.10, 8.0.10]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.403/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -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/BrainTheBest5/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/BrainTheBest5/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/BrainTheBest5/.nuget/packages/" />
</ItemGroup>
</Project>

View File

@ -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" />

77
obj/project.assets.json Normal file
View File

@ -0,0 +1,77 @@
{
"version": 3,
"targets": {
"net8.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net8.0": []
},
"packageFolders": {
"/home/BrainTheBest5/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/BrainTheBest5/Scrivania/VotiChecker/VotiChecker.csproj",
"projectName": "VotiChecker",
"projectPath": "/home/BrainTheBest5/Scrivania/VotiChecker/VotiChecker.csproj",
"packagesPath": "/home/BrainTheBest5/.nuget/packages/",
"outputPath": "/home/BrainTheBest5/Scrivania/VotiChecker/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/BrainTheBest5/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[8.0.10, 8.0.10]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.403/PortableRuntimeIdentifierGraph.json"
}
}
}
}

10
obj/project.nuget.cache Normal file
View File

@ -0,0 +1,10 @@
{
"version": 2,
"dgSpecHash": "LYTxs8fZXQE=",
"success": true,
"projectFilePath": "/home/BrainTheBest5/Scrivania/VotiChecker/VotiChecker.csproj",
"expectedPackageFiles": [
"/home/BrainTheBest5/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.10/microsoft.aspnetcore.app.ref.8.0.10.nupkg.sha512"
],
"logs": []
}