private void AddArgument(List<string> list, string argument) { if (!list.Contains(argument)) { list.Add(argument); } }