Apply Excel Custom Formatting in C# string format
===

Currently I am working in excel add-in based C# application. I have to read the excel cell value and apply same Custom format to other string data in C# application.

For example, I have the following custom formatting.

     #,##0.0_);(#,##0.0);#,##0.0_);@_) --> Numeric Data Formatting

     $#,##0.0_);($#,##0.0);$#,##0.0_);@_) --> Currency Data Formatting

     0.0%_);(0.0%);0.0%_);@_)  --> Percentage Data Formatting

How can I apply this number formatting in .Net string objects?



