diff --git a/Program.cs b/Program.cs index 1bec6a9..a09feb9 100644 --- a/Program.cs +++ b/Program.cs @@ -172,7 +172,7 @@ class Program { string[] substrings = p_stringa.Split(); for (int i = 0; i < substrings.Length; i++) { - substrings[i] = char.ToUpper(substrings[i][0]) + substrings[i].Split(substrings[i][0]).Last().ToLower(); + substrings[i] = char.ToUpper(substrings[i][0]) + substrings[i].Substring(1).ToLower(); } return string.Join(" ", substrings); diff --git a/bin/Debug/net9.0/strings_3.dll b/bin/Debug/net9.0/strings_3.dll index 7fb0eec..ae9ab36 100644 Binary files a/bin/Debug/net9.0/strings_3.dll and b/bin/Debug/net9.0/strings_3.dll differ diff --git a/bin/Debug/net9.0/strings_3.pdb b/bin/Debug/net9.0/strings_3.pdb index e2fc8fd..a2a2538 100644 Binary files a/bin/Debug/net9.0/strings_3.pdb and b/bin/Debug/net9.0/strings_3.pdb differ diff --git a/obj/Debug/net9.0/ref/strings_3.dll b/obj/Debug/net9.0/ref/strings_3.dll index 2e7c7f7..f28d285 100644 Binary files a/obj/Debug/net9.0/ref/strings_3.dll and b/obj/Debug/net9.0/ref/strings_3.dll differ diff --git a/obj/Debug/net9.0/refint/strings_3.dll b/obj/Debug/net9.0/refint/strings_3.dll index 2e7c7f7..f28d285 100644 Binary files a/obj/Debug/net9.0/refint/strings_3.dll and b/obj/Debug/net9.0/refint/strings_3.dll differ diff --git a/obj/Debug/net9.0/strings_3.AssemblyInfo.cs b/obj/Debug/net9.0/strings_3.AssemblyInfo.cs index ca12160..11da853 100644 --- a/obj/Debug/net9.0/strings_3.AssemblyInfo.cs +++ b/obj/Debug/net9.0/strings_3.AssemblyInfo.cs @@ -13,10 +13,10 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("strings_3")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7775755438b30c3353b3d8c6fc93a3237e54b33a")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+2870aa694152901049fed930abe3e963b8e4500b")] [assembly: System.Reflection.AssemblyProductAttribute("strings_3")] [assembly: System.Reflection.AssemblyTitleAttribute("strings_3")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -// Generato dalla classe WriteCodeFragment di MSBuild. +// Generated by the MSBuild WriteCodeFragment class. diff --git a/obj/Debug/net9.0/strings_3.AssemblyInfoInputs.cache b/obj/Debug/net9.0/strings_3.AssemblyInfoInputs.cache index 6a7be47..ff0f21c 100644 --- a/obj/Debug/net9.0/strings_3.AssemblyInfoInputs.cache +++ b/obj/Debug/net9.0/strings_3.AssemblyInfoInputs.cache @@ -1 +1 @@ -f69ddd740cdd255e20227bb1b23ca150ec3c9b6db7d226c093d6158f696c960d +13a03ffe5e1c233b60dd8771b97c8ef95f044c359df7a844d7baf1779030335e diff --git a/obj/Debug/net9.0/strings_3.dll b/obj/Debug/net9.0/strings_3.dll index 7fb0eec..ae9ab36 100644 Binary files a/obj/Debug/net9.0/strings_3.dll and b/obj/Debug/net9.0/strings_3.dll differ diff --git a/obj/Debug/net9.0/strings_3.pdb b/obj/Debug/net9.0/strings_3.pdb index e2fc8fd..a2a2538 100644 Binary files a/obj/Debug/net9.0/strings_3.pdb and b/obj/Debug/net9.0/strings_3.pdb differ