You are writing a custom dictionary.The custom-dictionary class is named MyDictionary.You need to ensure that the dictionary is type safe. Which code segment should you use?()
A.A B.B C.C D.D
A. B. C. D.
A.使用MyQueue對(duì)象Enqueue方法 B.使用MyQueue對(duì)象的Contains方法 C.使用MyQueue對(duì)象的Dequeue方法 D.使用MyQueue對(duì)象的Peek方法。