public void CheckQueue() { if (alertQueue.Count > 0) { DisplayAlert(alertQueue.Dequeue()); } if (at == null) { return; } at.Invoke("CheckQueue", at.alertInterval); }