none
HashTable RRS feed

  • 问题

  • HashTable.add(key, value);

    如果value = "{ad}{bf}{ce}",运行会出错,提示超出索引,感觉编译器将value当成了数组。

    这个怎么解决?

    2019年11月22日 5:44

全部回复

  • Hi zksoft,
    我使用 HashTable.add()方法测试了一下,并没有出现你说的错误,你方便提供一下重现错误的相关代码吗?
    Best Regards,
    Daniel Zhang


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2019年11月22日 8:25
  • 确实不是这里的问题,我搞错了。多谢。
    2019年11月25日 3:28
  • Hi zksoft,
    很高兴你的问题已经解决,你方便分享一下你的解决方案并将其标记为答复吗?感谢。
    Best Regards,
    Daniel Zhang


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2019年11月28日 6:00