.


:




:

































 

 

 

 


.




IEnumerable ICollection : AsParallel (), AsQueryable (), Cast () Of Type (). , AsParallel () System. Linq. ParallelEnumerable, AsQueryable () System. Linq. Queryable, Cast () Of Type () System. Linq.Enumerable. LINQ, .

IList

IList , . ICollection IEnumerable. , , IList . . 25.2. . , NotSupportedException.

Tafuuiia 9fv9_ r TLisI-

 

 

 

int Add(object value) void Clear ()

bool Contains(object value)

 

value . ,

true, value, false

 

 

 

int IndexOf(object value)

void Insert (int index, object value)

void Remove(object value)

void RemoveAt(int index)

 

value, . value , -1

value index. , index , ,

value

value . , , ,

, index. , , ,

 

IList Add (). , Add () obj ect. object , , , .

Remove () RemoveAt (). , Remove () , RemoveAt () . Clear ().

, , Contains (). IndexOf (), Insert ().

IList .

bool IsFixedSize { get; } bool IsReadOnly { get; }

, IsFixedSize true. , , . , IsReadOnly true. , .

, IList .

object this[int index] { get; set; }

. . Add (). , .

IDictionary

IDictionary , . , . , , IDictionary, "-". , . IDictionary ICollection IEnumerable. , IDictionary, . 25.3. ArgumentNullException , .

25.3. , IDictionary

 

 

 

void Add(object key,

 

-

 

object value)

 

", key value

 

Void Clear()

 

-

 

bool Contains(object key)

 

true, key , false

 

IDictionaryEnumerator

 

 

GetEnumerator()

 

 

void Remove(object key)

 

, key

 

"-" IDictionary Add (). , . Remove (). Clear ().

, , Contains () . GetEnumerator () , IDictionary. "-".





:


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


:

:

,
==> ...

2103 - | 1928 -


© 2015-2024 lektsii.org - -

: 0.012 .