Information Technology Reference
In-Depth Information
class Program
{
static void Main()
{
string s = null;
MyClass.PrintArg(s);
MyClass.PrintArg("Hi there!");
}
}
This code produces the following output:
Message: Value cannot be null.
Hi there!
Search WWH ::




Custom Search