VS2008, 3.5.Code:private IEnumerable<string> GetAllInterfaces(Type[] interfaces) { // Todo: // The GetAllInterfaces method of the TypeWriter class returns a strongly // typed IEnumerable of strings containing the Name property of each of the // interfaces types contained in the interfaces parameter. return from interfaces in typeof(string).GetProperties() where interfaces.Name == typeof(string) select interfaces; }
I took a crack at the Todo and am completely off. Guidance please?




Reply With Quote