using System.Collections.Generic;
using System.Threading.Tasks;
static void Main(string[] args)
static void berekenleeftijd()
DateTime now = DateTime.Now;
Console.WriteLine("geef je geboorte datum op: ");
DateTime birthday = Convert.ToDateTime(Console.ReadLine());
int antwoord = now.Year - birthday.Year;
Console.Write("je leeftijd is: " + antwoord);