System.Globalization.I18N.GetString C# (CSharp) Method

GetString() public static method

@Alias _ and Format

Translates the given text applying string.Format(text, arguments) to the current culture language.

The text and argument values will be HTML Encoded when used in ASP.NET MVC

public static GetString ( this culture, string text ) : string
culture this The culture being extended
text string The text to be translated
return string
        public static string GetString(this CultureInfo culture, string text, params object[] arguments)
        {
            return _(culture, text, arguments);
        }