diff --git a/Program.cs b/Program.cs index b32008e..8847145 100644 --- a/Program.cs +++ b/Program.cs @@ -4,6 +4,19 @@ class Program { static void Main(string[] args) { - Console.WriteLine("Hello, World!"); + const int dimensione=20; + char[] lettere = new char[dimensione]; + + Console.Clear(); + for (int i = 0; i < lettere.Length; i++){ + Console.WriteLine("Inserire una lettera alla volta per stampare una frase (massimo " +dimensione + " lettere, inserire uno spazio se hai meno di " +dimensione + " lettere)"); + Console.Write("Inserire la lettera n. " +(i+1) + ": "); + lettere[i]=Convert.ToChar(Console.ReadLine()); + Console.Clear(); + } + Console.Write("La tua frase รจ: "); + for (int i = 0; i < lettere.Length; i++){ + Console.Write(lettere[i]); + } } } diff --git a/bin/Debug/net9.0/array_1 b/bin/Debug/net9.0/array_1 new file mode 100755 index 0000000..d6c93da Binary files /dev/null and b/bin/Debug/net9.0/array_1 differ diff --git a/bin/Debug/net9.0/array_1.deps.json b/bin/Debug/net9.0/array_1.deps.json new file mode 100644 index 0000000..ef8e03e --- /dev/null +++ b/bin/Debug/net9.0/array_1.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v9.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v9.0": { + "array_1/1.0.0": { + "runtime": { + "array_1.dll": {} + } + } + } + }, + "libraries": { + "array_1/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/bin/Debug/net9.0/array_1.dll b/bin/Debug/net9.0/array_1.dll new file mode 100644 index 0000000..0d3da4a Binary files /dev/null and b/bin/Debug/net9.0/array_1.dll differ diff --git a/bin/Debug/net9.0/array_1.pdb b/bin/Debug/net9.0/array_1.pdb new file mode 100644 index 0000000..af1f99a Binary files /dev/null and b/bin/Debug/net9.0/array_1.pdb differ diff --git a/bin/Debug/net9.0/array_1.runtimeconfig.json b/bin/Debug/net9.0/array_1.runtimeconfig.json new file mode 100644 index 0000000..b19c3c8 --- /dev/null +++ b/bin/Debug/net9.0/array_1.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..d6c93da Binary files /dev/null and b/obj/Debug/net9.0/apphost differ diff --git a/obj/Debug/net9.0/array_1.AssemblyInfo.cs b/obj/Debug/net9.0/array_1.AssemblyInfo.cs new file mode 100644 index 0000000..6dbf7b4 --- /dev/null +++ b/obj/Debug/net9.0/array_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("array_1")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+439c754da5ea69e88be4766935194b4d75367f6d")] +[assembly: System.Reflection.AssemblyProductAttribute("array_1")] +[assembly: System.Reflection.AssemblyTitleAttribute("array_1")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generato dalla classe WriteCodeFragment di MSBuild. + diff --git a/obj/Debug/net9.0/array_1.AssemblyInfoInputs.cache b/obj/Debug/net9.0/array_1.AssemblyInfoInputs.cache new file mode 100644 index 0000000..1f6ace4 --- /dev/null +++ b/obj/Debug/net9.0/array_1.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +f0ca51ca78e8432d98c48e599b926b0915d37b37b7d9a3c2d05a5461579f9f00 diff --git a/obj/Debug/net9.0/array_1.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net9.0/array_1.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..a48d2c7 --- /dev/null +++ b/obj/Debug/net9.0/array_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 = array_1 +build_property.ProjectDir = /home/BrainTheBest5/git/array_1/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/obj/Debug/net9.0/array_1.GlobalUsings.g.cs b/obj/Debug/net9.0/array_1.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/obj/Debug/net9.0/array_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/array_1.assets.cache b/obj/Debug/net9.0/array_1.assets.cache new file mode 100644 index 0000000..6df782f Binary files /dev/null and b/obj/Debug/net9.0/array_1.assets.cache differ diff --git a/obj/Debug/net9.0/array_1.csproj.CoreCompileInputs.cache b/obj/Debug/net9.0/array_1.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..c85cb02 --- /dev/null +++ b/obj/Debug/net9.0/array_1.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +436df3f5c73bdde6738da001a03b34d88348e1d2f2531c934c69612a251735dd diff --git a/obj/Debug/net9.0/array_1.csproj.FileListAbsolute.txt b/obj/Debug/net9.0/array_1.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..4bf832c --- /dev/null +++ b/obj/Debug/net9.0/array_1.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +/home/BrainTheBest5/git/array_1/obj/Debug/net9.0/array_1.GeneratedMSBuildEditorConfig.editorconfig +/home/BrainTheBest5/git/array_1/obj/Debug/net9.0/array_1.AssemblyInfoInputs.cache +/home/BrainTheBest5/git/array_1/obj/Debug/net9.0/array_1.AssemblyInfo.cs +/home/BrainTheBest5/git/array_1/obj/Debug/net9.0/array_1.csproj.CoreCompileInputs.cache +/home/BrainTheBest5/git/array_1/bin/Debug/net9.0/array_1 +/home/BrainTheBest5/git/array_1/bin/Debug/net9.0/array_1.deps.json +/home/BrainTheBest5/git/array_1/bin/Debug/net9.0/array_1.runtimeconfig.json +/home/BrainTheBest5/git/array_1/bin/Debug/net9.0/array_1.dll +/home/BrainTheBest5/git/array_1/bin/Debug/net9.0/array_1.pdb +/home/BrainTheBest5/git/array_1/obj/Debug/net9.0/array_1.dll +/home/BrainTheBest5/git/array_1/obj/Debug/net9.0/refint/array_1.dll +/home/BrainTheBest5/git/array_1/obj/Debug/net9.0/array_1.pdb +/home/BrainTheBest5/git/array_1/obj/Debug/net9.0/array_1.genruntimeconfig.cache +/home/BrainTheBest5/git/array_1/obj/Debug/net9.0/ref/array_1.dll diff --git a/obj/Debug/net9.0/array_1.dll b/obj/Debug/net9.0/array_1.dll new file mode 100644 index 0000000..0d3da4a Binary files /dev/null and b/obj/Debug/net9.0/array_1.dll differ diff --git a/obj/Debug/net9.0/array_1.genruntimeconfig.cache b/obj/Debug/net9.0/array_1.genruntimeconfig.cache new file mode 100644 index 0000000..c73181f --- /dev/null +++ b/obj/Debug/net9.0/array_1.genruntimeconfig.cache @@ -0,0 +1 @@ +41e076f8e0c851dac5af9399d1a4c1027e76dd324c871dd4987dd3f56cda9cb9 diff --git a/obj/Debug/net9.0/array_1.pdb b/obj/Debug/net9.0/array_1.pdb new file mode 100644 index 0000000..af1f99a Binary files /dev/null and b/obj/Debug/net9.0/array_1.pdb differ diff --git a/obj/Debug/net9.0/ref/array_1.dll b/obj/Debug/net9.0/ref/array_1.dll new file mode 100644 index 0000000..888a9c5 Binary files /dev/null and b/obj/Debug/net9.0/ref/array_1.dll differ diff --git a/obj/Debug/net9.0/refint/array_1.dll b/obj/Debug/net9.0/refint/array_1.dll new file mode 100644 index 0000000..888a9c5 Binary files /dev/null and b/obj/Debug/net9.0/refint/array_1.dll differ