什么是asp.net中的StringDictionary类? [英] What is StringDictionary Class in asp.net ?

查看:57
本文介绍了什么是asp.net中的StringDictionary类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我访问了此链接以了解StringDictionary类.但是不了解,已经讨论了很多新事物.能否请您解释一下它的实际用途是什么?

Hi,
I visited this link to know about StringDictionary Class.But did''nt understood, a lot of new things have been discussed.Can you please explain about it and what is its real use ?

Thanks.

推荐答案

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.


这篇关于什么是asp.net中的StringDictionary类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆