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

_() public static method

@Alias GetString 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 _ ( this culture, string text ) : string
culture this The culture being extended
text string The text to be translated
return string
        public static string _(this CultureInfo culture, string text, params object[] arguments)
        {
            var result = string.Format(I18NComplete.GetText(text, lcid: culture.LCID), arguments);
            return
            #if DEBUG
             I18NComplete.OnGetting_(result, culture, text, arguments) ??
            #endif
             result;
        }