Modifica della prof

This commit is contained in:
La Programmatrice Verde 2025-02-20 09:53:11 +01:00
parent 2870aa6941
commit 3b39c97aa9
9 changed files with 4 additions and 4 deletions

View File

@ -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);

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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.

View File

@ -1 +1 @@
f69ddd740cdd255e20227bb1b23ca150ec3c9b6db7d226c093d6158f696c960d
13a03ffe5e1c233b60dd8771b97c8ef95f044c359df7a844d7baf1779030335e

Binary file not shown.

Binary file not shown.