IFormattable « Data Types « C# / C Sharp






1.IFormattable Interface formats the value of an object into a string
2.Override ToString to do the custom formatting
3.Format a DateTime with CultureInfo.CurrentCulture.DateTimeFormat.LongDatePattern