I\'m working on a small project with a few different types of arrays (e.g. double[], float[], int[]. For verification / testing / sani
double[]
float[]
int[]
The appropriate syntax to do what you want is this:
void Print(T[] array) { for (int i = 0; i < array.Length; i++) { Console.Write(array[i]); } }