I am looking for a c# solution to the question below. It requires converting a 7 digital number into a 24-bit value, split into 3 bytes.
Sample sign in value: 1234567