public void RefreshBrandList() { ABCServices services = new ABCServices(); List <Brands> brands = services.FindAllBrands(); // WHY IS FOLLOWING LINES????????? List <int> myintlist = new List <int>(); myintlist.Add(11); myintlist.Add(1001); myintlist.Add(10021); myintlist.Add(10013); myintlist.Add(10014); myintlist.Where(o => o > 999).Count(); brandList.Items.Clear(); foreach (var item in brands) { brandList.Items.Add(item.BrandID + " - " + item.BrandName + " - " + item.ClientID + " - " + item.ManagerID); } }