Beispiel #1
0
        /// <summary>Turns an <see cref="Array"/> of type T into a <see cref="GList{T}"/>.</summary>
        public static GList <T> ToGList <T>(this T[] inputArray)
        {
            GList <T> output = GList.Empty <T>();

            for (int i = 0; i < inputArray.Length; i++)
            {
                output.Add(inputArray[i]);
            }

            return(output);
        }