Using reflection, how can I get all types that implement an interface with C# 3.0/.NET 3.5 with the least code, and minimizing iterations?
This is what I want to re-
You could use some LINQ to get the list:
var types = from type in this.GetType().Assembly.GetTypes() where type is ISomeInterface select type;
But really, is that more readable?