I have a method in a class file. Say,
class A
{
public void Getmethod(int first,int second)
{
Console.WriteLine("GetMethod");
}
}
In my another class file, I have the following code
class B: A
{
A obj = new A();
public void callingfunction()
{
obj.Getmethod(2,3);
}
}
Suppose I am storing the "Getmethod"
name in a string variable, say Methodname
. Is it posiible to find if my Methodname
is being used anywhere else in my solution(that is it should check in all class files of a solution)