using System; using System.Collections.Generic; using multiple_inheritance_interfacesNamespace; public class multiple_inheritance_interfaces_runme { static string SortArrayToString(string[] types) { Array.Sort(types); return string.Join(" ", types); } static string SortArrayToString(Type[] types) { List stypes = new List(); foreach (Type t in types) stypes.Add(t.Name); return SortArrayToString(stypes.ToArray()); } private static void checkBaseAndInterfaces(Type cls, bool interfaceExpected, string baseClass, string[] interfaces) { string[] expectedInterfaces = new string[interfaces.Length + (interfaceExpected ? 0 : 1)]; for (int i=0; i