What are the difference and connection between IFormattable, IFormatProvider and ICustomFormatter and when would they be used? A simple implementation example would be very nice too.
IFormattable
IFormatProvider
ICustomFormatter
And I don't really mean when it is used in the .net framework, but when I would implement these myself and in that case what classes would typically implement what interface and how to do it properly.
2.1m questions
2.1m answers
60 comments
57.0k users