I think you are asking how to pass class methods as parameters. Not sure
if you can or can't in C# but really don't think you should. I would
suggest you create an interface with the method signature you desire.
Then have every class you wish to pass to the method inherit and
implement that interface. You then pass the class references to your
method and from there you can safely invoke the interface method.
Sorry don't have the time to make an example.
Hope this helps
Leon Lambert
Gopal Prabhakaran wrote:
Dear All,
I have 1 class namley classa
classa has a method which need a parameter as class methods
How shall i pass class method as parameter to another class method.
Pls help me asap
Thanx
Gopal Prabhakaran