Calling a Simple Method

View previous topic View next topic Go down

Calling a Simple Method

Post  Admin on Tue Feb 02, 2010 11:23 am

class Listing6_1
{
public static void Main()
{
Listing6_1 MyObject;
MyObject = new Listing6_1();
MyObject.CallMethod();
}
void CallMethod()
{
System.Console.WriteLine("Hello from CallMethod()!");
}
}

Admin
Admin

Posts : 14
Join date : 2010-01-27

View user profile http://catatan-ti.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum