using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tutorial025.Models; namespace Tutorial025 { public static class Helpers { public static Attributes Sum(this IEnumerable attributes) { var finalAttributes = new Attributes(); foreach (var attribute in attributes) finalAttributes += attribute; return finalAttributes; } } }