Refactor ForEach to AddRange(kodefuguru.com)
submitted by
KodefuGuru(2599) 2 years, 7 months ago
Here’s a refactoring I used to do some minor cleanup today. The programmer was iterating through a dictionary to add values to a list. No logic was contained within the iterator.
|category: C#
|Views: 21
tags:
C# another
Everyones tags:
Your Tags: