예제 #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()));
 }