Essentially you store the first value in a variable. Then loop through and compare. If it is larger then store that value. By the time you are done going through the whole list you'll have the largest value.
Int32 largestVal = buffer1[0];
foreach (Int32 temp in buffer1)
{
if (temp > largestVal)
largestVal = temp;
}