DEV Community

Discussion on: Make a quick URL shortener in C#

vekzdran profile image
Vedran Mandić

You already imported and used it with using System.Linq;. What matters is that you do not need an additional iteration with .ToList() just to call .ForEach(), that is what .Aggregate() does for you in a single loop. Good idea for the next article.