using System; class ArgumentNullTest { public static void Main() { String[] s = null; String sep = " "; try { String j = String.Join(sep,s); } catch (ArgumentNullException e) { Console.WriteLine("Error: {0}",e); } } }