Your company has several branches worldwide. The company uses Visual Studio.NET 2005 as its application development platform. You are creating an application using .NET Framework 2.0. The application will be used by the USA branch. You are required to get information about USA. You do not want to represent fondness of users and depend on the users' language or culture. Which of the following code segments will you use to accomplish the task?

Options
- CultureInfo th= new CultureInfo("en-US");
- CultureInfo th= new CultureInfo("US");
- RegionInfo MyReg = new RegionInfo("US");
- RegionInfo MyReg = new RegionInfo( new CultureInfo("en-US",false).LCID);
- c and d


CORRECT ANSWER : c and d

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement