| Author: shakti singh tanwar 13 May 2008 | Member Level: Diamond | Rating: Points: 2 |
By creating an object of that class.
|
| Author: srilu 13 May 2008 | Member Level: Diamond | Rating: Points: 2 |
Hi, Suppose you have a class file name class1.cs and a class class1 in it,in which you write a method add which takes 2 parameters x and y.To call that in your .CS file you have to write
class1 c1=new class1();//createing an object of that class c1.Add(10,20);
|
| Author: beginer 13 May 2008 | Member Level: Bronze | Rating: Points: 2 |
thank you srilu
|