How to format TimeSpan.ToString in .NET 4.0

Hello, I’m trying to format my TimeSpan string using

myString = myTimeSpan.ToString("c");

However the TimeSpan.ToString method does not take a format string as an argument until .NET 4.0 while Unity’s version of Mono is still on 3.5.

How would you format DateTime and TimeSpan strings then?

myString = string.Format(“{0:c}”, myTimeSpan);

I would ask on stackoverflow