convert java script to c#

text = String.Format (“{0:00}:{1:00}”, displayMinutes, displaySeconds);

how to covert this line of code in java script to c#

This line is exactly the same in C#! Remember to put

using System;

at the top.