public MainPage(HymnsAttendance attendance) { InitializeComponent(); Attendance = attendance; string[] weeklyBirthdays = Attendance.WeeklyBirthdays(); for (int i = 0; i < weeklyBirthdays.Length; i++) { // add odds to leftStack else rightstack if (i % 2 == 0) { LeftStack.Children.Add(new Label { Text = weeklyBirthdays[i], FontSize = 17 }); } else { RightStack.Children.Add(new Label { Text = weeklyBirthdays[i], FontSize = 17 }); } } Classes.ItemsSource = classesToInterface(HymnsAttendance.OrderedClasses); }