private void AddToLastSuccessIfNotRepeated(string input, string output) { for (int i = lastSuccessInputs.Length - 1; i >= 0; i--) { if (lastSuccessInputs[i] == input && lastSuccessOutputs[i] == output) { return; } } lastSuccessInputs.Add(input); lastSuccessOutputs.Add(output); }
public void Add(string feedback) { lastFeedbacks.Add(feedback); }