Argument Null Exception : Buildin Exceptions « Development Class « C# / C Sharp
- C# / C Sharp
- Development Class
- Buildin Exceptions
Argument Null Exception
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);
}
}
}
Related examples in the same category