Kizspy | Question: 44
(Choose 1 answer)
Which of the following is not a valid example of using a generic class in C#?
A. List<int> myList = new List<int>();
B. Dictionary<TKey, TValue> myDict = new Dictionary<TKey, TValue>();
C. Stack<T> myStack = new Stack<T>();
D. ArrayList<string> myArray = new ArrayList<int>();