Tuesday, 23 June 2009
















using System;
public class Test
{
public static void Main()
{
Console.WriteLine("enter students name:");
string s=Console.ReadLine();
if (s=="")
{
throw(new ArgumentNullException());
}
Console.WriteLine("the string is null");
}
}








No comments:

Post a Comment