Practice · 3 of 3
Assembly scan with flags
CHALLENGE
Difficulty: advanced+25 XP
Implement static List<string> StaticStringMembers(Type type): return the names of all public static fields AND properties of type string, sorted. Also implement static int CountMethods(Type type, string namePrefix) counting public instance methods whose name starts with the prefix (exclude property accessors and constructors).
Press Submit to check your solution.
Back to lesson: Practice: Reflection drills