.


:




:

































 

 

 

 


Hashtable . .




public Hashtable () public Hashtable(IDictionary d) public Hashtable(int capacity) public Hashtable(int capacity,

float loadFactor)

Hashtable. Hashtable d. Hashtable , , capacity. Hashtable , capacity loadFactor. , ,

1,0. - . , , , . , , 1, 0.

Hashtable , , , . . 25.5. , , Hashtable, Contains Key (). , , ContainsValue (). Hashtable GetEnumerator (), IDictionaryEnumerator. , IDictionaryEnumerator , , "-".

25.5. , Hashtable

 

 

 

public virtual bool ContainsKey(object key)

public virtual bool ContainsValue(object value)

public virtual IDictionaryEnumerator GetEnumerator () public static Hashtable Synchronized(Hashtable table)

 

true, Hashtable key,

False

true, Hashtable value, false

Hashtable IDictionaryEnumerator Hashtable, table

 

Hashtable , , . , Keys Values, Hashtable. IDictionary .

public virtual ICollection Keys { get; } public virtual ICollection Values { get; }

Hashtable , . , Hashtable EqualityComparer. , hep comparer, .

"-" Hashtable DictionaryEntry, , . , , Hashtable , Add (), : .

, , , Hashtable . , , , .





:


: 2016-12-03; !; : 431 |


:

:

, .
==> ...

809 - | 733 -


© 2015-2024 lektsii.org - -

: 0.012 .