If you want to calculate age in years, try and adapt from this:
using System;
public class Program
{
public static void Main()
{
DateTime dob = new DateTime(2000, 1, 11);
DateTime today = DateTime.Today;
int age = today.Year - dob.Year;
Console.WriteLine("Age in years " + age);
}
}
Learn
DateTime Structure (System)[
^]