Prima versione

This commit is contained in:
La Programmatrice Verde 2024-11-08 09:57:06 +01:00
parent 9ddf463f73
commit 9cb6edbe55
20 changed files with 114 additions and 1 deletions

View File

@ -4,6 +4,20 @@ class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
//dichiarazione variabili
ulong num, i;
//input e input sanitization
do{
Console.Write("Inserire un numero: ");
num=Convert.ToUInt64(Console.ReadLine());
if(num<=0){
Console.WriteLine("Il numero non può essere né negativo né zero");
}
}
while(num<=0);
//stampa dei numeri
for(i=num;i>0;i--){
Console.WriteLine(i);
}
}
}

BIN
bin/Debug/net8.0/decrescente 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": {
"decrescente/1.0.0": {
"runtime": {
"decrescente.dll": {}
}
}
}
},
"libraries": {
"decrescente/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")]

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

Binary file not shown.

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("decrescente")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+9ddf463f73eff4084cf744bd95b3e683007ad3c3")]
[assembly: System.Reflection.AssemblyProductAttribute("decrescente")]
[assembly: System.Reflection.AssemblyTitleAttribute("decrescente")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generato dalla classe WriteCodeFragment di MSBuild.

View File

@ -0,0 +1 @@
a73f1fa128095786274fe4ffa8879b412ee2ff17e520424eedb032cdcfb14ff6

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 = decrescente
build_property.ProjectDir = /home/BrainTheBest5/git/decrescente/
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 @@
78d7a49e5bf0d90d1090a49c7f475234fcc69435d4d31063318b3a3b9ea47453

View File

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

Binary file not shown.

View File

@ -0,0 +1 @@
35e512810b6ff05a58930e0d83453c8615f925dc42a70d9172cb3a4d2683fae2

Binary file not shown.

Binary file not shown.

Binary file not shown.