I would like to do something like this : automatically convert array of T to some interface that T implements :
public static void GenericFunction(T[,] g