private void CreateDemoEntites() { int[] idArray = new int[] { 1, 2, 3, 4, 5 }; foreach (int i in idArray) { bl.addNanny(new Nanny(i.ToString(), 20)); // bl.addChild(new Child(i.ToString(), 20)); } }