Multiple choice technology web 2.0

What namespaces are necessary to create a localized application?

  1. System.localization

  2. System.Globalization

  3. System.Resource

  4. System.Exception

Reveal answer Fill a bubble to check yourself
B,C Correct answer
Explanation

Creating localized applications in .NET requires System.Globalization for culture-specific formatting (dates, numbers, currency) and System.Resources for managing resource files containing localized strings and content. System.Globalization provides CultureInfo and related classes, while System.Resources contains ResourceManager for accessing .resx files. System.localization does not exist in .NET, and System.Exception is for error handling, not localization.

AI explanation

Building a localized (globalized) .NET application relies on System.Globalization for culture-specific formatting, calendars, and comparison rules, and on the resource-management namespace for loading culture-specific resource files (satellite assemblies) so text and other locale-dependent content can be swapped per culture. System.Exception deals with error handling and has nothing to do with localization, and System.Localization isn't an actual .NET namespace.