/// <summary>Converts a list of object to an <see cref="String"/> array.</summary>
 public static String[] ToArray(IList list, StringConverterDelegate converter)
 {
     if (list == null)
     {
         throw new ArgumentNullException("list");
     }
     if (converter == null)
     {
         throw new ArgumentNullException("converter");
     }
     String[] result = new String[list.Count];
     for (int i = 0; i < list.Count; i++)
     {
         result[i] = converter(list[i]);
     }
     return(result);
 }
 /// <summary>Converts a list of object to an <see cref="String"/> array.</summary>
 public static String[] ToArray(IList list, StringConverterDelegate converter) {
     if (list == null) throw new ArgumentNullException("list");
     if (converter == null) throw new ArgumentNullException("converter");
     String[] result = new String[list.Count];
     for (int i = 0; i < list.Count; i++) {
         result[i] = converter(list[i]);
     }
     return result;
 }