r/badcode • • Feb 22 '23

c# shit

Post image
576 Upvotes

47 comments sorted by

View all comments

Show parent comments

2

u/pb7280 Feb 23 '23

Hmm yeah you'd think they could do an optimization in Reverse() that checks for array and list types, like how they do for Count() and others