.


:




:

































 

 

 

 


BitArray , .




bytes, bytes [ 0 ] 8 , bytes [ 1 ] 8 .. , Bit Array , .

public BitArray(int[ ] values)

values [0 ] 32 , values [ 1 ] 32 ..

BitArray, :

public BitArray(int length)

length , false. , .

public BitArray(int length, bool defaultValue)

defaultValue, .

, BitArray , .

public BitArray(BitArray bits)

, bits, .

BitArray . , .

BitArray , , , . . 25.9. , BitArray Synchronized (). , , IsSynchronized false. BitArray , SyncRoot.

25.9. , BitArray

 

 

 

Public

value)

 

BitArray And(BitArray

 

value. BitArray,

 

Public

 

bool Get(int index)

 

, index

 

Public

 

BitArray Not()

 

BitArray,

 

 

 

public BitArray Or(BitArray value)

public void Set (int index, bool value)

public void SetAll(bool value)

public BitArray Xor(BitArray value)

 

value. BitArray,

, index, value

value

value. BitArray, -

 

BitArray , , , .

public int Length { get; set; }

Length . , , Count, . Count, Length , , , BitArray. , BitArray , . BitArray , false, , .





:


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


:

:

! . .
==> ...

1665 - | 1455 -


© 2015-2024 lektsii.org - -

: 0.012 .