public GetBitStatus ( int BitToCheck, System.UInt64 FromThisNumber ) : bool | ||
BitToCheck | int | |
FromThisNumber | System.UInt64 | |
return | bool |
public bool GetBitStatus(int BitToCheck, UInt64 FromThisNumber)
{
// Get the mask, Check for the state, return the state
return ((Extract(BitToCheck, BitToCheck, FromThisNumber) & FromThisNumber) == 1);
}