diff --git a/C#.repo b/C#.repo
new file mode 100644
index 0000000..e69de29
diff --git a/Program.cs b/Program.cs
index 096413e..46507a1 100644
--- a/Program.cs
+++ b/Program.cs
@@ -1,9 +1,87 @@
namespace strings_5;
-class Program
-{
- static void Main(string[] args)
- {
- Console.WriteLine("Hello, World!");
+class Program {
+ static void Main(string[] args) {
+ Menu();
}
-}
+
+ static void Menu() {
+ Console.Clear();
+ int scelta;
+ string[] array = null;
+ string stringa1, stringa2;
+ do {
+ Console.WriteLine("Inserire un'opzione:");
+ Console.WriteLine("1. Conta spazi pre maiuscola");
+ Console.WriteLine("2. Converti in binario");
+ Console.WriteLine("3. Stampa a gruppi di 3");
+ Console.WriteLine("4. Codifica");
+ Console.WriteLine("5. Individua anagramma");
+ Console.WriteLine("0. Esci");
+ Console.Write("Scelta: ");
+ scelta = Convert.ToInt32(Console.ReadLine());
+
+ switch (scelta) {
+ case 0:
+ break;
+ case 1:
+ Console.Clear();
+ array = CreaArray();
+ Pausa();
+ break;
+ case 2:
+ Console.Clear();
+
+ Pausa();
+ break;
+ case 3:
+ Console.Clear();
+
+ Pausa();
+ break;
+ case 4:
+ Console.Clear();
+ //Codifica();
+ Pausa();
+ break;
+ case 5:
+ Console.Clear();
+ //Anagramma();
+ 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();
+ }
+
+ static string Input() {
+ Console.Write("Inserire una frase: ");
+ return Console.ReadLine();
+ }
+
+ static string[] CreaArray() {
+ int dimensione;
+ Console.Write("Quante frasi inserire?");
+ dimensione = Convert.ToInt32(Console.ReadLine());
+
+ string[] ritorno = new string[dimensione];
+
+ for (int i = 0; i < dimensione; i++) {
+ ritorno[i] = Input();
+ }
+
+ return ritorno;
+ }
+
+
+}
\ No newline at end of file
diff --git a/bin/Debug/net9.0/strings_5 b/bin/Debug/net9.0/strings_5
new file mode 100755
index 0000000..edd80ed
Binary files /dev/null and b/bin/Debug/net9.0/strings_5 differ
diff --git a/bin/Debug/net9.0/strings_5.deps.json b/bin/Debug/net9.0/strings_5.deps.json
new file mode 100644
index 0000000..eb18bd3
--- /dev/null
+++ b/bin/Debug/net9.0/strings_5.deps.json
@@ -0,0 +1,23 @@
+{
+ "runtimeTarget": {
+ "name": ".NETCoreApp,Version=v9.0",
+ "signature": ""
+ },
+ "compilationOptions": {},
+ "targets": {
+ ".NETCoreApp,Version=v9.0": {
+ "strings_5/1.0.0": {
+ "runtime": {
+ "strings_5.dll": {}
+ }
+ }
+ }
+ },
+ "libraries": {
+ "strings_5/1.0.0": {
+ "type": "project",
+ "serviceable": false,
+ "sha512": ""
+ }
+ }
+}
\ No newline at end of file
diff --git a/bin/Debug/net9.0/strings_5.dll b/bin/Debug/net9.0/strings_5.dll
new file mode 100644
index 0000000..59c491d
Binary files /dev/null and b/bin/Debug/net9.0/strings_5.dll differ
diff --git a/bin/Debug/net9.0/strings_5.pdb b/bin/Debug/net9.0/strings_5.pdb
new file mode 100644
index 0000000..9849b66
Binary files /dev/null and b/bin/Debug/net9.0/strings_5.pdb differ
diff --git a/bin/Debug/net9.0/strings_5.runtimeconfig.json b/bin/Debug/net9.0/strings_5.runtimeconfig.json
new file mode 100644
index 0000000..b19c3c8
--- /dev/null
+++ b/bin/Debug/net9.0/strings_5.runtimeconfig.json
@@ -0,0 +1,12 @@
+{
+ "runtimeOptions": {
+ "tfm": "net9.0",
+ "framework": {
+ "name": "Microsoft.NETCore.App",
+ "version": "9.0.0"
+ },
+ "configProperties": {
+ "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
+ }
+ }
+}
\ No newline at end of file
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/apphost b/obj/Debug/net9.0/apphost
new file mode 100755
index 0000000..edd80ed
Binary files /dev/null and b/obj/Debug/net9.0/apphost differ
diff --git a/obj/Debug/net9.0/ref/strings_5.dll b/obj/Debug/net9.0/ref/strings_5.dll
new file mode 100644
index 0000000..e17eb1d
Binary files /dev/null and b/obj/Debug/net9.0/ref/strings_5.dll differ
diff --git a/obj/Debug/net9.0/refint/strings_5.dll b/obj/Debug/net9.0/refint/strings_5.dll
new file mode 100644
index 0000000..e17eb1d
Binary files /dev/null and b/obj/Debug/net9.0/refint/strings_5.dll differ
diff --git a/obj/Debug/net9.0/strings_5.AssemblyInfo.cs b/obj/Debug/net9.0/strings_5.AssemblyInfo.cs
new file mode 100644
index 0000000..7eaa74d
--- /dev/null
+++ b/obj/Debug/net9.0/strings_5.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_5")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6e87c50f38fe55a9a356be9943e01a9b33f11d9c")]
+[assembly: System.Reflection.AssemblyProductAttribute("strings_5")]
+[assembly: System.Reflection.AssemblyTitleAttribute("strings_5")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Generated by the MSBuild WriteCodeFragment class.
+
diff --git a/obj/Debug/net9.0/strings_5.AssemblyInfoInputs.cache b/obj/Debug/net9.0/strings_5.AssemblyInfoInputs.cache
new file mode 100644
index 0000000..81581d9
--- /dev/null
+++ b/obj/Debug/net9.0/strings_5.AssemblyInfoInputs.cache
@@ -0,0 +1 @@
+fe225aa8de7de9cfc2110dee8a116f06390dffbae0a351de03d0a092dbfe8d53
diff --git a/obj/Debug/net9.0/strings_5.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net9.0/strings_5.GeneratedMSBuildEditorConfig.editorconfig
new file mode 100644
index 0000000..536fa00
--- /dev/null
+++ b/obj/Debug/net9.0/strings_5.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_5
+build_property.ProjectDir = /home/Verde/git/strings_5/
+build_property.EnableComHosting =
+build_property.EnableGeneratedComInterfaceComImportInterop =
+build_property.EffectiveAnalysisLevelStyle = 9.0
+build_property.EnableCodeStyleSeverity =
diff --git a/obj/Debug/net9.0/strings_5.GlobalUsings.g.cs b/obj/Debug/net9.0/strings_5.GlobalUsings.g.cs
new file mode 100644
index 0000000..8578f3d
--- /dev/null
+++ b/obj/Debug/net9.0/strings_5.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_5.assets.cache b/obj/Debug/net9.0/strings_5.assets.cache
new file mode 100644
index 0000000..8dfb3ca
Binary files /dev/null and b/obj/Debug/net9.0/strings_5.assets.cache differ
diff --git a/obj/Debug/net9.0/strings_5.csproj.CoreCompileInputs.cache b/obj/Debug/net9.0/strings_5.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..7a270a5
--- /dev/null
+++ b/obj/Debug/net9.0/strings_5.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+95fdab40150cd8aa7ff9585c1aae937f5add1b7cd1017f714e913a89b279627a
diff --git a/obj/Debug/net9.0/strings_5.csproj.FileListAbsolute.txt b/obj/Debug/net9.0/strings_5.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..8dd0fac
--- /dev/null
+++ b/obj/Debug/net9.0/strings_5.csproj.FileListAbsolute.txt
@@ -0,0 +1,14 @@
+/home/Verde/git/strings_5/bin/Debug/net9.0/strings_5
+/home/Verde/git/strings_5/bin/Debug/net9.0/strings_5.deps.json
+/home/Verde/git/strings_5/bin/Debug/net9.0/strings_5.runtimeconfig.json
+/home/Verde/git/strings_5/bin/Debug/net9.0/strings_5.dll
+/home/Verde/git/strings_5/bin/Debug/net9.0/strings_5.pdb
+/home/Verde/git/strings_5/obj/Debug/net9.0/strings_5.GeneratedMSBuildEditorConfig.editorconfig
+/home/Verde/git/strings_5/obj/Debug/net9.0/strings_5.AssemblyInfoInputs.cache
+/home/Verde/git/strings_5/obj/Debug/net9.0/strings_5.AssemblyInfo.cs
+/home/Verde/git/strings_5/obj/Debug/net9.0/strings_5.csproj.CoreCompileInputs.cache
+/home/Verde/git/strings_5/obj/Debug/net9.0/strings_5.dll
+/home/Verde/git/strings_5/obj/Debug/net9.0/refint/strings_5.dll
+/home/Verde/git/strings_5/obj/Debug/net9.0/strings_5.pdb
+/home/Verde/git/strings_5/obj/Debug/net9.0/strings_5.genruntimeconfig.cache
+/home/Verde/git/strings_5/obj/Debug/net9.0/ref/strings_5.dll
diff --git a/obj/Debug/net9.0/strings_5.dll b/obj/Debug/net9.0/strings_5.dll
new file mode 100644
index 0000000..59c491d
Binary files /dev/null and b/obj/Debug/net9.0/strings_5.dll differ
diff --git a/obj/Debug/net9.0/strings_5.genruntimeconfig.cache b/obj/Debug/net9.0/strings_5.genruntimeconfig.cache
new file mode 100644
index 0000000..5b71bd5
--- /dev/null
+++ b/obj/Debug/net9.0/strings_5.genruntimeconfig.cache
@@ -0,0 +1 @@
+dad9f5247a590cce87202bf76a1547ca7ac93b19600c46f57dd675b6e60446ba
diff --git a/obj/Debug/net9.0/strings_5.pdb b/obj/Debug/net9.0/strings_5.pdb
new file mode 100644
index 0000000..9849b66
Binary files /dev/null and b/obj/Debug/net9.0/strings_5.pdb differ