Prima versione con valori long
This commit is contained in:
parent
65e1556902
commit
2a8366e2b3
15
Program.cs
15
Program.cs
@ -4,6 +4,19 @@ class Program
|
|||||||
{
|
{
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Hello, World!");
|
//dichiarazione e inizializzazione variabili
|
||||||
|
long fattore1, fattore2, prodotto;
|
||||||
|
fattore2=1;
|
||||||
|
//input
|
||||||
|
Console.Write("Inserire un numero: ");
|
||||||
|
fattore1=Convert.ToInt64(Console.ReadLine());
|
||||||
|
//calcolo tabellina
|
||||||
|
for(fattore2=1; fattore2<=10; fattore2++){
|
||||||
|
prodotto=fattore1*fattore2;
|
||||||
|
//output ogni tabellina
|
||||||
|
Console.Write(fattore1);
|
||||||
|
Console.Write(" x " +fattore2);
|
||||||
|
Console.WriteLine(" = " +prodotto);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
bin/Debug/net8.0/tabellina
Executable file
BIN
bin/Debug/net8.0/tabellina
Executable file
Binary file not shown.
23
bin/Debug/net8.0/tabellina.deps.json
Normal file
23
bin/Debug/net8.0/tabellina.deps.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v8.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v8.0": {
|
||||||
|
"tabellina/1.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"tabellina.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"tabellina/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
bin/Debug/net8.0/tabellina.dll
Normal file
BIN
bin/Debug/net8.0/tabellina.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/tabellina.pdb
Normal file
BIN
bin/Debug/net8.0/tabellina.pdb
Normal file
Binary file not shown.
12
bin/Debug/net8.0/tabellina.runtimeconfig.json
Normal file
12
bin/Debug/net8.0/tabellina.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.
BIN
obj/Debug/net8.0/ref/tabellina.dll
Normal file
BIN
obj/Debug/net8.0/ref/tabellina.dll
Normal file
Binary file not shown.
BIN
obj/Debug/net8.0/refint/tabellina.dll
Normal file
BIN
obj/Debug/net8.0/refint/tabellina.dll
Normal file
Binary file not shown.
22
obj/Debug/net8.0/tabellina.AssemblyInfo.cs
Normal file
22
obj/Debug/net8.0/tabellina.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("tabellina")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+65e155690294a9fa61e9895c06207d69684f7848")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("tabellina")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("tabellina")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generato dalla classe WriteCodeFragment di MSBuild.
|
||||||
|
|
||||||
1
obj/Debug/net8.0/tabellina.AssemblyInfoInputs.cache
Normal file
1
obj/Debug/net8.0/tabellina.AssemblyInfoInputs.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
ce4fd8e8626f02931c2673ae1a1615181e132b95d88f0113d9a4256038275005
|
||||||
@ -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 = tabellina
|
||||||
|
build_property.ProjectDir = /home/BrainTheBest5/git/tabellina/
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
8
obj/Debug/net8.0/tabellina.GlobalUsings.g.cs
Normal file
8
obj/Debug/net8.0/tabellina.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/tabellina.assets.cache
Normal file
BIN
obj/Debug/net8.0/tabellina.assets.cache
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
113572724e916c6fadaa00a13daed8ee23079fdf38fd19471f46d79cd6588531
|
||||||
14
obj/Debug/net8.0/tabellina.csproj.FileListAbsolute.txt
Normal file
14
obj/Debug/net8.0/tabellina.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina
|
||||||
|
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina.deps.json
|
||||||
|
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina.runtimeconfig.json
|
||||||
|
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina.dll
|
||||||
|
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina.pdb
|
||||||
|
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.AssemblyInfoInputs.cache
|
||||||
|
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.AssemblyInfo.cs
|
||||||
|
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.csproj.CoreCompileInputs.cache
|
||||||
|
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.dll
|
||||||
|
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/refint/tabellina.dll
|
||||||
|
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.pdb
|
||||||
|
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.genruntimeconfig.cache
|
||||||
|
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/ref/tabellina.dll
|
||||||
BIN
obj/Debug/net8.0/tabellina.dll
Normal file
BIN
obj/Debug/net8.0/tabellina.dll
Normal file
Binary file not shown.
1
obj/Debug/net8.0/tabellina.genruntimeconfig.cache
Normal file
1
obj/Debug/net8.0/tabellina.genruntimeconfig.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
4c4e1dae03d972bd1d8a3c427809d30c1a27ba390553ae92b2b26a03b98e26e7
|
||||||
BIN
obj/Debug/net8.0/tabellina.pdb
Normal file
BIN
obj/Debug/net8.0/tabellina.pdb
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user