C Invoke Generic Method Statement