I have a simple class:

```
class Test
{
    public static int Test<T>(T arg)
    {
        return 1;
    }
}

```

I would like to get an object of type `Delegate` that represents this method. Is it possible to create such a delegate? It would be even better if I could turn a method with any number of parameters and generic arguments into a `Delegate`.