Prima versione (riga 14 non viene eseguita)

This commit is contained in:
La Programmatrice Verde 2024-10-25 11:15:10 +02:00
parent 40a271ce32
commit 449d2f9510
20 changed files with 110 additions and 1 deletions

View File

@ -4,6 +4,16 @@ class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
int num, somma, numPrec;
numPrec=0;
Console.WriteLine("Il programma sommerà i numeri finché non verrà inserito zero, poi restituirà il risultato.");
do{
Console.Write("Inserire un numero: ");
num=Convert.ToInt32(Console.ReadLine());
somma=num+numPrec;
numPrec=num;
}
while(num!=0);
Console.WriteLine("La somma totale è: " + somma);
}
}

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

Binary file not shown.

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

View File

@ -0,0 +1 @@
e5597b6c21ac407792aff76e127963df72106e8525e21665ab26cbd1ac5d1cd3

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 = sum_until_zero
build_property.ProjectDir = /home/BrainTheBest5/git/sum_until_zero/
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 @@
bbf4b363bb82ba73d585e473a32dc88d72b73f5c20fee8839feeed55980bb91a

View File

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

Binary file not shown.

View File

@ -0,0 +1 @@
03f691184b3236b6140e8666561b0933ea4f12d4614485df8b6933195082f12d

Binary file not shown.