Getting Delegate Method
In my loop I want to determine which method has been assigned to the delegate. I don't know how to do it so I turn the delegate.method into a string and compare names.
if (TotalIdentSearchHandler1.Method.ToString().Contains("underlinemethod"))
{
Console.WriteLine("Total method == underline method");
}
How can I use better programming to determine exactly if it is the method?
this doesent work: if (TotalIdentSearchHandler1.Method == SearchClassInstance._underlinemethod)
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

bilnaadRank #2,169 · 655 reputationPosted Nov 9, 2004, 7:37 AM EST