diff --git a/Program.cs b/Program.cs index 9440390..e508a30 100644 --- a/Program.cs +++ b/Program.cs @@ -46,7 +46,7 @@ class Program { for (int i = 0; i < p_array.Length; i++) { occorrenza = 0;//reset del contatore delle occorrenze - if (p_array[i] != temp) { + if (p_array[i] != temp) {//se l'elemento che sto guardando ora (p_array[i]) è uguale a quello che stavo guardando prima (temp), non vado a contare quante volte è presente e salto al prossimo elemento temp = p_array[i]; for (int j = 0; j < p_array.Length; j++) { //verifico se p_array[i] è già nell'array elementi if (elementi[j] == temp) { diff --git a/obj/Debug/net9.0/interrogazione_1.AssemblyInfo.cs b/obj/Debug/net9.0/interrogazione_1.AssemblyInfo.cs index 3555bc1..885e749 100644 --- a/obj/Debug/net9.0/interrogazione_1.AssemblyInfo.cs +++ b/obj/Debug/net9.0/interrogazione_1.AssemblyInfo.cs @@ -13,10 +13,10 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("interrogazione_1")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+39331d79c2ce0dbc1a252c8942adc30b1f54ae45")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+375e8e313894d1ba85f5e83e75b8613a2e55c56d")] [assembly: System.Reflection.AssemblyProductAttribute("interrogazione_1")] [assembly: System.Reflection.AssemblyTitleAttribute("interrogazione_1")] [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/interrogazione_1.AssemblyInfoInputs.cache b/obj/Debug/net9.0/interrogazione_1.AssemblyInfoInputs.cache index 443304a..16be507 100644 --- a/obj/Debug/net9.0/interrogazione_1.AssemblyInfoInputs.cache +++ b/obj/Debug/net9.0/interrogazione_1.AssemblyInfoInputs.cache @@ -1 +1 @@ -bc30cb61052e6223b011638802fec2b5eb489b9b7ae4390f67ab697fdedf08f4 +2e6c6a3c5d7e586e8470a2be6f7df96156c47b9355983c88595a6e9d2d51c521