I need a method (methods will have same return value, but distinct params) like a param. What can i do?
===

I have the next code:

    public byte[] A(int i){//do something}

    public byte[] B(string a) { //do something}

    public void useAMethod()
    {
      //Previous code
      byte[] = A(0);
      //final code
    }

    public void useBMethod()
    {
      //Previous code
      byte[] = B("test");
      //final code
    }

Like you can see, i have two methods with same return value but differents params
I would like something like:

    public void useAnyMethod([method] methodToUse)
    {
      //Previous code
      byte[] = methodToUse;
      //final code
    }
    
To use like:

    useAnyMethod(A(0));
    useAnyMethod(B("test"));


is it posiible??

Thanks