📜  c# vs c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:48.595000             🧑  作者: Mango

代码示例1
Array - C array, though the .NET Array can have a non-zero starting index.
List - std::vector
Dictionary - unordered_map
HashSet - unordered_set
SortedDictionary - std::map
SortedList - equivalent to a std::vector but keeping it ordered by using binary search + insert when adding elements.
SortedSet - std::set
Queue - std::queue
Stack - std::stack
LinkedList - std::list