public static WeightedGroupItem ForIndex(int index, string type, string Name) { return new WeightedGroupItem { Type = type, Name = Name, Weight = 1.0f - (index * 0.25f) }; }