System.Globalization.Message.GetText C# (CSharp) Method

GetText() public method

Returns either the text or the msgid. You can specify whether to return the plural form.
public GetText ( bool plural = false ) : string
plural bool
return string
        public string GetText(bool plural = false)
        {
            return
                plural
                ? (string.IsNullOrEmpty(MsgStr_Plural) ? (string.IsNullOrEmpty(MsgID_Plural) ? MsgID : MsgID_Plural) : MsgStr_Plural)
                : (string.IsNullOrEmpty(MsgStr) ? MsgID : MsgStr);
        }