Prima versione
This commit is contained in:
parent
9ddf463f73
commit
9cb6edbe55
16
Program.cs
16
Program.cs
@ -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
BIN
bin/Debug/net8.0/decrescente
Executable file
Binary file not shown.
23
bin/Debug/net8.0/decrescente.deps.json
Normal file
23
bin/Debug/net8.0/decrescente.deps.json
Normal 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": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
bin/Debug/net8.0/decrescente.dll
Normal file
BIN
bin/Debug/net8.0/decrescente.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/decrescente.pdb
Normal file
BIN
bin/Debug/net8.0/decrescente.pdb
Normal file
Binary file not shown.
12
bin/Debug/net8.0/decrescente.runtimeconfig.json
Normal file
12
bin/Debug/net8.0/decrescente.runtimeconfig.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net8.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "8.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=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
||||
BIN
obj/Debug/net8.0/apphost
Executable file
BIN
obj/Debug/net8.0/apphost
Executable file
Binary file not shown.
22
obj/Debug/net8.0/decrescente.AssemblyInfo.cs
Normal file
22
obj/Debug/net8.0/decrescente.AssemblyInfo.cs
Normal 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.
|
||||
|
||||
1
obj/Debug/net8.0/decrescente.AssemblyInfoInputs.cache
Normal file
1
obj/Debug/net8.0/decrescente.AssemblyInfoInputs.cache
Normal file
@ -0,0 +1 @@
|
||||
a73f1fa128095786274fe4ffa8879b412ee2ff17e520424eedb032cdcfb14ff6
|
||||
@ -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 =
|
||||
8
obj/Debug/net8.0/decrescente.GlobalUsings.g.cs
Normal file
8
obj/Debug/net8.0/decrescente.GlobalUsings.g.cs
Normal 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;
|
||||
BIN
obj/Debug/net8.0/decrescente.assets.cache
Normal file
BIN
obj/Debug/net8.0/decrescente.assets.cache
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
78d7a49e5bf0d90d1090a49c7f475234fcc69435d4d31063318b3a3b9ea47453
|
||||
14
obj/Debug/net8.0/decrescente.csproj.FileListAbsolute.txt
Normal file
14
obj/Debug/net8.0/decrescente.csproj.FileListAbsolute.txt
Normal 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
|
||||
BIN
obj/Debug/net8.0/decrescente.dll
Normal file
BIN
obj/Debug/net8.0/decrescente.dll
Normal file
Binary file not shown.
1
obj/Debug/net8.0/decrescente.genruntimeconfig.cache
Normal file
1
obj/Debug/net8.0/decrescente.genruntimeconfig.cache
Normal file
@ -0,0 +1 @@
|
||||
35e512810b6ff05a58930e0d83453c8615f925dc42a70d9172cb3a4d2683fae2
|
||||
BIN
obj/Debug/net8.0/decrescente.pdb
Normal file
BIN
obj/Debug/net8.0/decrescente.pdb
Normal file
Binary file not shown.
BIN
obj/Debug/net8.0/ref/decrescente.dll
Normal file
BIN
obj/Debug/net8.0/ref/decrescente.dll
Normal file
Binary file not shown.
BIN
obj/Debug/net8.0/refint/decrescente.dll
Normal file
BIN
obj/Debug/net8.0/refint/decrescente.dll
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user