Stampa di tutte le squadre

This commit is contained in:
La Programmatrice Verde
2025-05-02 10:25:58 +02:00
parent a3ad1bfab2
commit 73f0315817
9 changed files with 11 additions and 3 deletions

View File

@@ -126,6 +126,14 @@ class Program {
Pausa(); Pausa();
break; break;
case 3: case 3:
if (squadre == null) {
Console.WriteLine("Errore: è necessario creare l'array di squadre prima di poter stampare la formazione di tutte le squadre");
}
else {
for (int i = 0; i < squadre.Length; i++) {
squadre[i].StampaSquadra();
}
}
Pausa(); Pausa();
break; break;
case 4: case 4:

Binary file not shown.

Binary file not shown.

View File

@@ -13,10 +13,10 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("squadre_calcio")] [assembly: System.Reflection.AssemblyCompanyAttribute("squadre_calcio")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4a6a5d98b347235812fddc8fff8aea7d75c30d50")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a3ad1bfab2859b40a7fac361ce8a2d352ced46fb")]
[assembly: System.Reflection.AssemblyProductAttribute("squadre_calcio")] [assembly: System.Reflection.AssemblyProductAttribute("squadre_calcio")]
[assembly: System.Reflection.AssemblyTitleAttribute("squadre_calcio")] [assembly: System.Reflection.AssemblyTitleAttribute("squadre_calcio")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class. // Generato dalla classe WriteCodeFragment di MSBuild.

View File

@@ -1 +1 @@
5f326c6e53b8d89f60c9948ebaf50f7c5d8d2489f1b66dea8290c4496d402d9b fc6815150f2241e953b9b51a36d6acb13628479f901e201e7de24a5ed19c71a6

Binary file not shown.

Binary file not shown.