I call FunctionB passing a string array using generic method like this.
string[] array1 = {"data1", "data2", "data3"};
void FunctionA ( )
{
FunctionB ( array1 );
}
void FunctionB <T> (T arg)
{
print (typeof(T));
}
I got the data type of arg. Is there any way to have array1's data elements in FunctionB ?