public int getNGiorniSettimana() { int count = 0; for (int i = 1; i <= 7; i++) { if (Giornate.Contains("" + i)) { count++; } } return(count); }
internal bool hasDay(int i) { return(Giornate.Contains(i.ToString())); }