string formatString = items.Count > 0 ? "Items: {0}; Values: {1}" : "Values: {1}"; return string.Format(formatString, itemList, valueList);