Use string.Format to handle strings that are empty or null
11 February, 2009
0 Comments
0 categories
Console.WriteLine(string.Format("{0} [{1}]", "object1", null)); Result: object1 []