Format Currency in C#

How to Format a number as Currency in C#

C# Code Snippets

How to Format a number as Currency in C#

      
public string public string FormatCurrency(decimal value)
{
    return value.ToString("#,###,##0.00");
}

For example enter 1234567.89 and the output is 1,234,567.89.