# BitArrayState

Package: [Microsoft.Orleans.Transactions.TestKit.Base](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Transactions.TestKit.Base) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions.TestKit.Base/Grains/MultiStateTransactionalBitArrayGrain.cs#L17)

```csharp
[Orleans.GenerateSerializer]
public class BitArrayState
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Constructors

- [BitArrayState](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/constructors/constructor-4108daa5/)
- [BitArrayState(BitArrayState)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/constructors/constructor-orleans-transactions-testkit-correctnesss-bitarraystate-462447b4/)

## Properties

- [Length](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/properties/length-48857e76/)
- [Value](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/properties/value-8cfcaa33/)

## Methods

- [Apply(BitArrayState, BitArrayState, Func&lt;int, int, int&gt;)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/apply-orleans-transactions-testkit-correctnesss-bitarraystate-orleans-transactio-9ff653ec/)
- [Equals(object)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/equals-object-7fb3a859/)
- [GetEnumerator](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/getenumerator-6e3a6bd0/)
- [GetHashCode](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/gethashcode-727df924/)
- [Set(int, bool)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/set-int-bool-d96f4054/)
- [ToString](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/tostring-1c8523cd/)
- [operator &amp;(BitArrayState, BitArrayState)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/op-bitwiseand-orleans-transactions-testkit-correctnesss-bitarraystate-orleans-tr-9ed5f706/)
- [operator |(BitArrayState, BitArrayState)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/op-bitwiseor-orleans-transactions-testkit-correctnesss-bitarraystate-orleans-tra-ac64c710/)
- [operator ==(BitArrayState, BitArrayState)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/op-equality-orleans-transactions-testkit-correctnesss-bitarraystate-orleans-tran-8236d0f1/)
- [operator ^(BitArrayState, BitArrayState)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/op-exclusiveor-orleans-transactions-testkit-correctnesss-bitarraystate-orleans-t-8d66f87e/)
- [operator !=(BitArrayState, BitArrayState)](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/methods/op-inequality-orleans-transactions-testkit-correctnesss-bitarraystate-orleans-tr-33a3b8d5/)

## Indexers

- [this[int]](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleans.transactions.testkit.correctnesss.bitarraystate/indexers/this-int-a8fabe8f/)
