且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

什么是asp.net中的StringDictionary类?

更新时间:2022-11-23 13:37:12

ASP.NET中没有StringDictionary类,ASP.NET是生成HTML的框架,容器类是整个.NET的一部分. ASP.NET内部存在的框架.它们在ASP.NET中没有特定用途.

StringDictionary是专门的名称/值对容器,用于解决两个值都是字符串的常见用法.它曾经使用一个值来查找另一个值,就像字典中使用一个单词来查找其含义一样.我建议您是否还没有完成计算机科学课程(似乎很可能),而您购买了一些有关不同容器性质的书籍.即使您不了解C,《 C语言算法》一书也是一本不错的书,它可以帮助您充分理解交易的这些基本工具.
There is no StringDictionary class in ASP.NET, ASP.NET is the framework for generating HTML, and the container classes are part of the overall .NET framework which exists inside ASP.NET. They have no specific use in ASP.NET.

A StringDictionary is a specialised name/value pair container that addresses the common usage where both values are strings. It''s used to use one value to look up another, just like a dictionary uses a word to look up it''s meaning. I''d suggest if you''ve not done a computer science course ( as appears to be likely ) that you buy some books on the nature of different containers. The book ''algorithms in C'' is a good book to read, even if you don''t know C, in order to fully understand these basic tools of the trade.


StringDictionary是System.Collections.Specialized命名空间中存在的类.
它使用键和强类型化为字符串而不是对象的值来实现哈希表.
StringDictionary is a class present in the System.Collections.Specialized namespace.
It implements hash table with the key and the value strongly typed to be strings rather than objects.