Date Time C#

using System;
using System.Globalization;
using System.Text.RegularExpressions;
using System.Threading;
public class Example
{
   public static void Main()
   {
      PersianCalendar persian = new PersianCalendar();
      DateTime date1 = new DateTime(2010, 5, 27, persian);
      Console.WriteLine(date1.ToString());
      Console.WriteLine("{0}/{1}/{2}\n", persian.GetMonth(date1), 
                                       persian.GetDayOfMonth(date1), 
                                       persian.GetYear(date1));
   }
}