private void redraw(java.util.List list) { bar.Items.Clear(); foreach (Operation operation in list.toIEnumerable <Operation>()) { bar.Items.Add(operation.getName().FirstCharToUpper() + "..."); } }