Пример #1
0
        public int getNGiorniSettimana()
        {
            int count = 0;

            for (int i = 1; i <= 7; i++)
            {
                if (Giornate.Contains("" + i))
                {
                    count++;
                }
            }

            return(count);
        }
Пример #2
0
 internal bool hasDay(int i)
 {
     return(Giornate.Contains(i.ToString()));
 }