Struttura base
This commit is contained in:
55
Program.cs
55
Program.cs
@@ -1,9 +1,54 @@
|
||||
namespace vacanzeEstive_sezione1;
|
||||
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello, World!");
|
||||
class Program {
|
||||
static void Main(string[] args) {
|
||||
Console.Clear();
|
||||
int scelta = -1;
|
||||
do {
|
||||
Console.WriteLine("Scegliere un'opzione:");
|
||||
Console.WriteLine("1. ");
|
||||
Console.WriteLine("2. ");
|
||||
Console.WriteLine("3. ");
|
||||
Console.WriteLine("4. ");
|
||||
Console.WriteLine("0. Esci");
|
||||
Console.Write("Scelta: ");
|
||||
|
||||
try {
|
||||
scelta = Convert.ToInt32(Console.ReadLine());
|
||||
|
||||
switch (scelta) {
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
Pausa();
|
||||
break;
|
||||
case 2:
|
||||
Pausa();
|
||||
break;
|
||||
case 3:
|
||||
Pausa();
|
||||
break;
|
||||
case 4:
|
||||
Pausa();
|
||||
break;
|
||||
default:
|
||||
Console.WriteLine("Errore: scelta non valida.");
|
||||
Pausa();
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
catch (FormatException) {
|
||||
Console.WriteLine("Errore: scelta non valida.");
|
||||
Pausa();
|
||||
}
|
||||
|
||||
}
|
||||
while (scelta != 0);
|
||||
}
|
||||
|
||||
static void Pausa() {
|
||||
Console.WriteLine("Premere un tasto per continuare. . .");
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
|
||||
BIN
bin/Debug/net9.0/vacanzeEstive_sezione1
Executable file
BIN
bin/Debug/net9.0/vacanzeEstive_sezione1
Executable file
Binary file not shown.
23
bin/Debug/net9.0/vacanzeEstive_sezione1.deps.json
Normal file
23
bin/Debug/net9.0/vacanzeEstive_sezione1.deps.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v9.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v9.0": {
|
||||
"vacanzeEstive_sezione1/1.0.0": {
|
||||
"runtime": {
|
||||
"vacanzeEstive_sezione1.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"vacanzeEstive_sezione1/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
bin/Debug/net9.0/vacanzeEstive_sezione1.dll
Normal file
BIN
bin/Debug/net9.0/vacanzeEstive_sezione1.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net9.0/vacanzeEstive_sezione1.pdb
Normal file
BIN
bin/Debug/net9.0/vacanzeEstive_sezione1.pdb
Normal file
Binary file not shown.
12
bin/Debug/net9.0/vacanzeEstive_sezione1.runtimeconfig.json
Normal file
12
bin/Debug/net9.0/vacanzeEstive_sezione1.runtimeconfig.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net9.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "9.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=v9.0", FrameworkDisplayName = ".NET 9.0")]
|
||||
BIN
obj/Debug/net9.0/apphost
Executable file
BIN
obj/Debug/net9.0/apphost
Executable file
Binary file not shown.
BIN
obj/Debug/net9.0/ref/vacanzeEstive_sezione1.dll
Normal file
BIN
obj/Debug/net9.0/ref/vacanzeEstive_sezione1.dll
Normal file
Binary file not shown.
BIN
obj/Debug/net9.0/refint/vacanzeEstive_sezione1.dll
Normal file
BIN
obj/Debug/net9.0/refint/vacanzeEstive_sezione1.dll
Normal file
Binary file not shown.
22
obj/Debug/net9.0/vacanzeEstive_sezione1.AssemblyInfo.cs
Normal file
22
obj/Debug/net9.0/vacanzeEstive_sezione1.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("vacanzeEstive_sezione1")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+67884601db5ef8eca4495227d86e17ae02f2b374")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("vacanzeEstive_sezione1")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("vacanzeEstive_sezione1")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
49587ec21a533b659168b080272a7c45ac74fe435455f4394a474d41b9a868d7
|
||||
@@ -0,0 +1,15 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net9.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 = vacanzeEstive_sezione1
|
||||
build_property.ProjectDir = /home/Verde/git/vacanzeEstive_sezione1/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 9.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
@@ -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/net9.0/vacanzeEstive_sezione1.assets.cache
Normal file
BIN
obj/Debug/net9.0/vacanzeEstive_sezione1.assets.cache
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
70edb066f46b29513644187b7b7fa690992b41595a8e74beb1776a769541a5fe
|
||||
@@ -0,0 +1,14 @@
|
||||
/home/Verde/git/vacanzeEstive_sezione1/bin/Debug/net9.0/vacanzeEstive_sezione1
|
||||
/home/Verde/git/vacanzeEstive_sezione1/bin/Debug/net9.0/vacanzeEstive_sezione1.deps.json
|
||||
/home/Verde/git/vacanzeEstive_sezione1/bin/Debug/net9.0/vacanzeEstive_sezione1.runtimeconfig.json
|
||||
/home/Verde/git/vacanzeEstive_sezione1/bin/Debug/net9.0/vacanzeEstive_sezione1.dll
|
||||
/home/Verde/git/vacanzeEstive_sezione1/bin/Debug/net9.0/vacanzeEstive_sezione1.pdb
|
||||
/home/Verde/git/vacanzeEstive_sezione1/obj/Debug/net9.0/vacanzeEstive_sezione1.GeneratedMSBuildEditorConfig.editorconfig
|
||||
/home/Verde/git/vacanzeEstive_sezione1/obj/Debug/net9.0/vacanzeEstive_sezione1.AssemblyInfoInputs.cache
|
||||
/home/Verde/git/vacanzeEstive_sezione1/obj/Debug/net9.0/vacanzeEstive_sezione1.AssemblyInfo.cs
|
||||
/home/Verde/git/vacanzeEstive_sezione1/obj/Debug/net9.0/vacanzeEstive_sezione1.csproj.CoreCompileInputs.cache
|
||||
/home/Verde/git/vacanzeEstive_sezione1/obj/Debug/net9.0/vacanzeEstive_sezione1.dll
|
||||
/home/Verde/git/vacanzeEstive_sezione1/obj/Debug/net9.0/refint/vacanzeEstive_sezione1.dll
|
||||
/home/Verde/git/vacanzeEstive_sezione1/obj/Debug/net9.0/vacanzeEstive_sezione1.pdb
|
||||
/home/Verde/git/vacanzeEstive_sezione1/obj/Debug/net9.0/vacanzeEstive_sezione1.genruntimeconfig.cache
|
||||
/home/Verde/git/vacanzeEstive_sezione1/obj/Debug/net9.0/ref/vacanzeEstive_sezione1.dll
|
||||
BIN
obj/Debug/net9.0/vacanzeEstive_sezione1.dll
Normal file
BIN
obj/Debug/net9.0/vacanzeEstive_sezione1.dll
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
9f8e81bc81aaeaef956cfa074c8680b77d63d29d40ed55a71817b805c1b38020
|
||||
BIN
obj/Debug/net9.0/vacanzeEstive_sezione1.pdb
Normal file
BIN
obj/Debug/net9.0/vacanzeEstive_sezione1.pdb
Normal file
Binary file not shown.
Reference in New Issue
Block a user