public static void sauvegarder(string[] paths, string nom_index, int[] nb_wilaya) { if (paths.Length != nb_wilaya.Length) { throw new ArgumentException("la longueure des deux tableaux ne sont pas les mêmes."); } for (int i = 0; i < paths.Length; i++) { StructDS ds = new StructDS(paths[i]); ds.Trier(); ds.sauvegarder(nom_index, nb_wilaya[i]); } }
public ManipDS(string path) { sd = new StructDS(path); }