using System; namespace DateTest { public class Date { // Properties public int Year { get; set; } public string Month { get; set; } public int Day { get; set; } // Constructer public Date(int intYear, string strMonth, int intDay) { Year = intYear; Month = strMonth; Day = intDay; } // Overloaded Constructer public Date(string strMonth, int intDay) { Year = 2011; Month = strMonth; Day = intDay; } // A method to display the date public void DisplayDate() { Console.WriteLine(String.Format("The Date is: {0} {1} {2}", Day.ToString(), Month, Year.ToString())); } } }