Showing posts with label METHOD WITH OUT RETURN TYPE AND WITHOUT ARGUMENT. Show all posts
Showing posts with label METHOD WITH OUT RETURN TYPE AND WITHOUT ARGUMENT. Show all posts

Sunday, November 8, 2009

METHOD WITH OUT RETURN TYPE AND WITHOUT ARGUMENT

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication13
{

class obj
{
public void show()
{
System.Console.WriteLine ("hello") ;
}
public static void Main (String []args)
{
obj ob=new obj();
ob.show();
}
}

}