You are developing web application using globalization concept in which You need to parse a text field where the user enters an amount of money. Which method do you use ?

 Posted by Rajkatie on 8/31/2013 | Category: .NET Framework Interview questions | Views: 2904 | Points: 40
Select from following answers:
  1. int.TryParse(value, NumberStyles.Currency, UICulture);
  2. decimal.TryParse(value, NumberStyles.Currency, UICulture,out tempMoney);
  3. decimal.TryParse(value)
  4. All Above

Show Correct Answer

Source: microsoft book (c#) | | Alert Moderator 

Comments or Responses

Login to post response