using System;
using System.Collections;

namespace QC.QTMApplication;

public class BitInfo
{
	public bool GetBitInfo(long number, int bitPosition)
	{
		byte[] bytes = BitConverter.GetBytes(number);
		BitArray bitArray = new BitArray(bytes);
		return bitArray[bitPosition];
	}
}
