public static Type GetManagerType(string name) { foreach (Type t in typeHash) { if (t.Name.Equals(name)) { return t; } } return null; }