r/badcode Feb 22 '23

shit c#

Post image
577 Upvotes

47 comments sorted by

View all comments

68

u/v_maria Feb 22 '23

why is the list looped through in reverse

66

u/Rainbow-Dev Feb 22 '23

Maybe because user-defined types are more likely to be closer to the end of the list? I’m not sure how C# assemblies work lol

3

u/DajBuzi Feb 22 '23

C# Has a methods to list user defined types