partial void AddButton_TouchUpInside(UIButton sender) { String passenger; var count = dm.returnListCount(); if (count < 24) { passenger = passengerAddTextField.Text.Replace(',', '.'); dm.addPassengerToList(passenger); Toast.MakeText("Passenger Added!").Show(); passengerAddTextField.Text = ""; } if (count == 24) { Toast.MakeText("Passenger Limit Reached"); } }