Find if any two integers in array match given target int

public class Solution
{
// assume all input ints are >= 0
// if input number > target then no valid case, continue
// if input number == target, and there is a zero... good, stop
// compare (n + (n+i)) = target
public int[] TwoSum(int[] nums, int target)
{
// RETRUN INTEGER ARRAY WITH INDEXIES
int[] iarr_RetVal = new int[2];
// TEMP INTS FOR COMPARISONS
int iIndex1 = -1;
int iIndex2 = -1;

// LOGICAL BREAK
bool bFoundAnswer = false;

// OUTER LOOP
for(int i = 0; i < nums.Length; i++) { // CONTROL BREAK if(bFoundAnswer) break; // OUTER LOOP iIndex1 = nums[i]; if (iIndex1 > target)
continue;

// INNER LOOP FOR SECOND INDEX
for(int j=1; j < nums.Length; j++) { iIndex2 = nums[j]; if (iIndex2 > target)
{
continue;
}

// MATCH CONDITION WHERE TWO NUMBERS SUM TO TARGET
if((iIndex1+iIndex2) == target)
{
iarr_RetVal[0] = i;
iarr_RetVal[1] = j;
bFoundAnswer = true;
break; // INNER LOOP
}
}
}
return iarr_RetVal;
}
}