using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using WindowsFormsApplication1.ServiceReference1; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); ServiceClient x = new ServiceClient(); List thisThing = new List(); int count = x.GetEntityList("user").GetLength(0); Entity[] newthing = new Entity[count]; newthing = x.GetEntityList("user"); foreach (Entity current in newthing) thisThing.Add(current); foreach (Entity current in thisThing) { demoBox.Items.Add(current); } } private void label1_Click(object sender, EventArgs e) { } } }