convert list to an int array to avoid repeated usages of Integer.Parse
extract the logic for conversion to an int array
separate the logic for summing and checking for negatives
summing and checking for negatives methods extracted
remove redundant variable