试题详情
单项选择题You work as the application developer at Hi-Tech.com. You create a new custom dictionary named MyDictionary. Choose the code segment which will ensure that MyDictionary is type safe?()

A、 Class MyDictionary Implements Dictionary (Of String,String)

B、 Class MyDictionary Inherits HashTable

C、 Class MyDictionary Implements IDictionary

D、 Class MyDictionary     End Class     Dim t as New Dictionary (Of String, String)     Dim dict As MyDIctionary= CType (t,MyDictionary)

  • A
  • 关注下方微信公众号,在线模考后查看

热门试题