DataSharp/Mathematics/FunctionalityTest.cs
/// <summary>
/// Print the elements in the specified array in a line with them separated by space.
/// </summary>
/// <typeparam name="T">The type of elements in the enumerator.</typeparam>
/// <param name="array">The array to be printed.</param>
Print the elements in the specified array in a line with them separated by space.
Print the elements in the specified array in a line with them separated by space .
public static void PrintIEnumerable<T>(IEnumerable<T> enumerator)
        {
            foreach (T t in enumerator)
                Console.Write(t + " ");
            Console.WriteLine();
        }
public static void PrintIEnumerable < T > ( IEnumerable < T > enumerator ) { foreach ( T t in enumerator ) Console . Write ( t + " " ) ; Console . WriteLine ( ) ; }
Print the elements in the specified array in a line with them separated by space.
Print the elements in the specified array in a line with them separated by space .
enumerator
IEnumerable<T>
array
The array to be printed.
The array to be printed .
typeparam
The type of elements in the enumerator.
The type of elements in the enumerator .