At least have an array or collection of motors, instead of using individual variables, which is really ugly. For example:
byte[][] motorData;
motorData = new byte[][motorCount];
motorData = new byte[motorCount][];
for (int motor = 0; motor < motorCount; ++motor)
motorData[motor] = new byte[ ];
If all motors have the same size of data, it's simpler:
byte[,] motorData;
motorData = new byte[motorCount, dataLength];
Very similar approach would be with collections, of course, generic. Please see
http://msdn.microsoft.com/en-us/library/system.collections.generic.aspx[
^].
—SA