Reflection checkpoint
Challenge on lesson: Checkpoint: reflection
CHALLENGE
Difficulty: advanced+25 XP
Implement static List<string> PluginNames(Assembly assembly): find all non-abstract classes in the assembly that implement interface IPlugin (defined below), call their parameterless constructor, read their Name property, and return the names sorted alphabetically. Cache nothing โ correctness first. Define public interface IPlugin { string Name { get; } } in your Solution file.
Press Submit to check your solution.
Back to lesson: Checkpoint: reflection