2
Vote

Index out of bounds

description

In DayView .CS the statement layout.Appointments[layout.Count] = appointment;
gives an index out of bound error when layout.Count=20.
I tried changing this statement from 20 layout.Appointments = new Appointment[50];
Still fails. Do you have a suggestion

comments