Catatan Kuliah Teknik Informatika
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Calling a Simple Method

Go down

Calling a Simple Method Empty Calling a Simple Method

Post  Admin 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

https://catatan-ti.forumotion.com

Back to top Go down

Back to top


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