using System; using System.Collections.Generic; using System.Linq; public class EntityItem { public int Weight { get; set; } public int Value { get; set; } public EntityItem(int weight, int value) { Weight = weight; Value = value; } }