public int GetTotal() { return(SplitByDelimiter.Splitter(_formattedNumbers).Where(number => int.Parse(number) < 1001).Sum(int.Parse)); }
private IEnumerable <int> GetNegativeNumbers() { return((from num in SplitByDelimiter.Splitter(_numbers) where int.Parse(num) < 0 select int.Parse(num)).ToArray()); }