.


:




:

































 

 

 

 


IDictionary .




 

 

 

Bool IsFixedSize

 

{ get; }

 

true,

 

bool IsReadOnly {

 

get; }

 

true,

 

ICollection Keys

 

{ get; }

 

 

ICollection Values

 

{ get; }

 

 

, , , Keys Values.

, IDictionary .

object this[object key] { get; set; }

, . , .

IEnumerable, IEnumerator IDictionaryEnumerator

IEnumerable , . , IEnumerable , ICollection. GetEnumerator (), IEnumerable.

IEnumerator GetEnumerator()

. IEnumerable foreach.

IEnumerator . . "-" (), GetEnumerator () IDictionaryEnumerator, IEnumerator. IDictionaryEnumerator IEnumerator , .

IEnumerator MoveNext () Reset () Current. . , Current , . MoveNext () , Reset () .

IComparer IEqualityComparer

IComparer Compare () .

Int Compare(object , object )

, , ; , ; . .

IEqualityComparer .

bool Equals(object , object ) int GetHashCode(object obj)

Equals () true, . GetHashCode () - obj.

IStructuralComparable IStructuralEquatable

IStructuralComparable IStructuralEquatable 4.0 .NET Framework. IStructuralComparable CompareTo (), . ( , CompareTo () , .) .

int CompareTo(object other, IComparer comparer)

-1, other; 1, other; , 0, . , comparer.





:


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


:

:

,
==> ...

1895 - | 1669 -


© 2015-2024 lektsii.org - -

: 0.011 .