This is extremely easy in C#.

If you pass in a string value, it won’t format correctly.