How do I convert a boolean list to an integer equal to the Booleans interpreted as a byte?
i.e.
public List<Boolean> MyList = new List<Boolean>();
MyList.Add(true);
MyList.Add(true);
MyList.Add(false);
MyList.Add(false);
MyList.Add(false);
MyList.Add(false);
MyList.Add(false);
MyList.Add(false);
This would return a 3.