public static AssemblyName[] ListAssemblies() { AssemblyName[] names = new AssemblyName[assemblies.Count]; Assembly assembly; for (int i=0; i < assemblies.Count; i++) { assembly = assemblies[i]; names.SetValue(assembly.GetName(), i); } return names; }