private string FormatSize() { if (!_IsArray) { return(String.Empty); } var arraySizeDecl = ArrayEnum != null?ArrayEnum.GetFriendlyType() : ArrayDim.ToString(CultureInfo.InvariantCulture); return(String.Format("[{0}]", arraySizeDecl)); }
private string FormatSize() { if (!_IsArray) { return(string.Empty); } string arraySizeDecl = ArrayEnum != null ? ArrayEnum.GetFriendlyType() : ArrayDim.ToString(CultureInfo.InvariantCulture); return($"[{arraySizeDecl}]"); }