Hello all , i have this part of code , and i don't know how to convert it to C# , can anybody explain me? Thanks for helping

Code:
string stringify(double x)
{
ostringstream o;
if (!(o << x))
return 0;
return o.str();
}