int[] iarray = new int[db.Length]; for(int i=0;i<db.Length;i++) iarray[i] = (int)db[i];
You could use linq.
byte[] dbBytes = { 0x01, 0x02, 0x03, 0x04, 0x05 }; var intArray = dbBytes.Select(b =>(int)b).ToArray();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)