i want display a given number into Rupees Format

Like
Given number is : 156735

my Expected output is 1,56,735.

how to display?

Answer Posted / srikanth

You Can Use Just
String.Format("{0:C}",156735);

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c# better than java?

495


What is the use of return in c#?

482


What is difference between a constant and read-only in C#?

524


Can we overload indexer in c#?

474


Is double a decimal?

510






Can we declare private class in c#?

470


Explain nullable types in c#?

530


What does a constructor do c#?

486


What is int16?

500


Describe the types of comments in c#?

501


Define clr in .net?

555


What is sorted list in c#?

502


What is the use of iqueryable in c#?

471


What does type safety mean?

567


Do vs while c#?

481