Kedokteran 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

Jumlah posting : 35
Join date : 15.04.09

https://kedokmatika.forumid.net

Kembali Ke Atas Go down

Kembali Ke Atas


 
Permissions in this forum:
Anda tidak dapat menjawab topik