Search results for query: *

  1. U

    Questions on bitwise operations: how to calculate bit mask and bit shift based on these 3 fixed values?

    Thank you for replying. Just to clarify, bit 0 is the lowest bit. In addition, I only need to figure out the mathematical calculation/formula for this specific problem. Also, can you further elaborate what you mean by "thinking in terms of bit operations"?
  2. U

    Questions on bitwise operations: how to calculate bit mask and bit shift based on these 3 fixed values?

    I am supposed to determine the bit mask and shift values based on the following 3 values: the start byte, the start bit, and the number of bits. I will receive some byte array for my data of x many bytes. Let's say some random chunk of data within this large byte array represents whether a...
  3. U

    Question How to populate a nested list of objects?

    I have a class as shown below: public class Par { public string id { get { return id; } set { id = value; } } public Int32 num { get { return num; } set { num = value; } } } Now I also created a class named "Msg" which has a nested list of Par objects public class Msg { private...
Back
Top Bottom