This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Be careful about off-by-one errors-check boundary conditions Initialize all variables Counter-controlled iteration is very common- has its own control structure----New Windows Form: ListBox: a list of items, controlled by code (like a label, users cant change it) entriesListBox.Items.Clear () ------------clear all the entries object object method entriesListBox.Items.Add (New item) entriesListBox.Items.Cont Mystring=entriesListBox. Item. Item (0) entriesListBox.Items.RemoveAt (2)...
View Full Document
- Fall '10