From 0c0dba09f56a880aa213506f9e689c9f02f72bc4 Mon Sep 17 00:00:00 2001 From: La Programmatrice Verde Date: Wed, 5 Feb 2025 09:28:23 +0100 Subject: [PATCH] =?UTF-8?q?Men=C3=B9=20backbone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Program.cs | 55 ++++++++++++++++-- ...CoreApp,Version=v9.0.AssemblyAttributes.cs | 4 ++ obj/Debug/net9.0/strings_1.AssemblyInfo.cs | 22 +++++++ .../net9.0/strings_1.AssemblyInfoInputs.cache | 1 + ....GeneratedMSBuildEditorConfig.editorconfig | 15 +++++ obj/Debug/net9.0/strings_1.GlobalUsings.g.cs | 8 +++ obj/Debug/net9.0/strings_1.assets.cache | Bin 0 -> 149 bytes 7 files changed, 100 insertions(+), 5 deletions(-) create mode 100644 obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs create mode 100644 obj/Debug/net9.0/strings_1.AssemblyInfo.cs create mode 100644 obj/Debug/net9.0/strings_1.AssemblyInfoInputs.cache create mode 100644 obj/Debug/net9.0/strings_1.GeneratedMSBuildEditorConfig.editorconfig create mode 100644 obj/Debug/net9.0/strings_1.GlobalUsings.g.cs create mode 100644 obj/Debug/net9.0/strings_1.assets.cache diff --git a/Program.cs b/Program.cs index d99cb28..424d7fa 100644 --- a/Program.cs +++ b/Program.cs @@ -1,9 +1,54 @@ namespace strings_1; -class Program -{ - static void Main(string[] args) - { - Console.WriteLine("Hello, World!"); +class Program { + static void Main(string[] args) { + Console.Clear(); + int scelta; + do { + Console.WriteLine("Inserire un'opzione:"); + Console.WriteLine("1. Trova e sostituisci"); + Console.WriteLine("2. Conta vocali e consonanti"); + Console.WriteLine("3. Modifica stringa"); + Console.WriteLine("4. Inverti le lettere"); + Console.WriteLine("0. Esci"); + Console.Write("Scelta: "); + scelta = Convert.ToInt32(Console.ReadLine()); + + switch (scelta) { + case 0: + break; + case 1: + Console.Clear(); + + Pausa(); + break; + case 2: + Console.Clear(); + + Pausa(); + break; + case 3: + Console.Clear(); + + Pausa(); + break; + case 4: + Console.Clear(); + + Pausa(); + break; + default: + Console.WriteLine("Opzione non valida."); + Pausa(); + break; + } + } + while (scelta != 0); + } + + static void Pausa(){ + Console.WriteLine("Premere un tasto per continuare. . ."); + Console.ReadKey(); + Console.Clear(); } } diff --git a/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs b/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs new file mode 100644 index 0000000..9e76325 --- /dev/null +++ b/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] diff --git a/obj/Debug/net9.0/strings_1.AssemblyInfo.cs b/obj/Debug/net9.0/strings_1.AssemblyInfo.cs new file mode 100644 index 0000000..ceb7bb8 --- /dev/null +++ b/obj/Debug/net9.0/strings_1.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("strings_1")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+14ddf1dae3db729089bc25cbbbb7788a5f57dd92")] +[assembly: System.Reflection.AssemblyProductAttribute("strings_1")] +[assembly: System.Reflection.AssemblyTitleAttribute("strings_1")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/Debug/net9.0/strings_1.AssemblyInfoInputs.cache b/obj/Debug/net9.0/strings_1.AssemblyInfoInputs.cache new file mode 100644 index 0000000..00b8f29 --- /dev/null +++ b/obj/Debug/net9.0/strings_1.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +ee7f9dfff348a2f12e1a614efb59dd81290f3a39a048bfa56c88f777e98adb6e diff --git a/obj/Debug/net9.0/strings_1.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net9.0/strings_1.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..3bea699 --- /dev/null +++ b/obj/Debug/net9.0/strings_1.GeneratedMSBuildEditorConfig.editorconfig @@ -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 = strings_1 +build_property.ProjectDir = /home/Verde/git/strings_1/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/obj/Debug/net9.0/strings_1.GlobalUsings.g.cs b/obj/Debug/net9.0/strings_1.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/obj/Debug/net9.0/strings_1.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +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; diff --git a/obj/Debug/net9.0/strings_1.assets.cache b/obj/Debug/net9.0/strings_1.assets.cache new file mode 100644 index 0000000000000000000000000000000000000000..1047d50fbede25347f0e8841fce2ba7c4eea68ea GIT binary patch literal 149 zcmWIWc6a1qU|?A1cr09EqCBf`<;wy-t?$a*Yv;XQRpS3`Q(-L6B(|1$6M<@o1&lz2 kGWr?$xvBbLsYNNN`g(b#>8U091&PVoiRr1u`h*Mu0GO2-@&Et; literal 0 HcmV?d00001