简体   繁体   中英

What is the std::map<string,bool> equivilant in asp.net?

在ASP.NET中最接近std::map<string,bool>是什么?

字典

Dictionary<string, bool> 

我认为您可能会使用:

System.Collections.Generic.Dictionary<string,bool>

The Dictionary collection is a hashtable. System.Collections.Generic.Dictionary<string,bool> is most similar data structure to std::map<string,bool> .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM