Method | Description | |
---|---|---|
Add ( string commaSeparatedNumbers ) : int |
Method | Description | |
---|---|---|
BuildIndividualRegex ( string delimiterWithSquareBrackets ) : string | ||
HandleExplicitDelimiters ( string commaSeparatedNumbers, string &delimitersRegex ) : string | ||
HandleIndividualValues ( int number ) : int | ||
SumUpValidNumbersAndCheckForInvalidOnes ( string commaSeparatedNumbers, string delimetersRegex ) : int | ||
ValidateWhetherThereWereNegatives ( ) : void |
public Add ( string commaSeparatedNumbers ) : int | ||
commaSeparatedNumbers | string | |
return | int |