I would like to do some condition formatting of strings. I know that you can do some conditional formatting of integers and floats as follows:
Int32 i = 0;
Not within String.Format(), but you could use C#'s inline operators, such as:
return items.Count > 0 ? String.Format("Items: {0}; Values: {1}", itemList, valueList) : String.Format("Values: {0}", valueList);
This would help tidy-up the code.