public static List<Contact> CreateContacts()
 {
     var random = new Random();
     List<Contact> contacts = new List<Contact>();
     for (int i = 0; i < 30; i++)
     {
         string first = firstNames[random.Next(firstNames.Count - 1)];
         string last = lastNames[random.Next(lastNames.Count - 1)];
         string email = first + "." + last + "@nackademin.se";
         string phone = "08-12" + randomInt();
         DateTime birthDateTime = randomDateTime();
         Contact contact = new Contact { FirstName = first, LastName = last, Email = email, PhoneNumber = phone, BirthDate = birthDateTime};
         contacts.Add(contact);
     }
     return contacts;
 }
 public CoolXaml(Contact contact)
 {
     _ContactViewModel = new ContactViewModel(contact);
     InitializeComponent();
     BindingContext = _ContactViewModel;
 }