collections/collection/basic/output - Output of the program with basic operations on a Collection of characters. | Lecture 12 - slide 9 : 36 Program 2 |
Initial List a b c d e lst[0] = 'z'; lst[1]++; z c c d e lst.Insert(0,'n'); n z c c d e lst.Insert(lst.Count,'x'); n z c c d e x lst.RemoveAt(0); z c c d e x lst.Remove('c'); z c d e x lst.Clear();