Monday, November 17, 2008

Can u Expect whats d output


write this below code in console application


string str = "ramesh;sapi;latha";
Console.WriteLine(str);
string[] saray = str.Split(new char[] { ';' });
foreach (string month in saray)
{
Console.WriteLine("{0}", month);
}
Console.ReadLine();

No comments:

Followers