i can not Convert the T TYPE array in to Int array My Code is below .
T [] arra = new T[arr.Length];
int [] converted = new int[arr.Length];
T element;
for (int i = 0; i < arr.Length; i++)
{
for (int j = 0; j < arr.Length - 1-i; j++)
{
Type s = (Type)System.Int64;
Type t = arr.GetType();
Converter<T,int> a;
if (t.Equals(s))
{
Array.ConvertAll<T, int>(arr, Converter < T,int> converted);
}
if (arr[j] > arr[j + 1])
{
element = arr[j];
arr[j] = arr[j + 1];
arr[j + 1] = element;
}
}
}