private List<SuperTaskValue> SuperMethod(object sender, string[] field) { TextBox textBox = sender as TextBox; List<SuperTaskValue> Values = new List<SuperTaskValue>(); for (int i = 0; i < superTask.linkToTrackers.Count<string>(); i++) { SuperTaskValue newValue = new SuperTaskValue(); newValue.linkToTracker = superTask.linkToTrackers[i].ToString(); newValue.textBoxValue = field[i]; newValue.source = superTask.source[i]; Values.Add(newValue); } return Values; }
private List <SuperTaskValue> SuperMethod(object sender, string[] field) { TextBox textBox = sender as TextBox; List <SuperTaskValue> Values = new List <SuperTaskValue>(); for (int i = 0; i < superTask.linkToTrackers.Count <string>(); i++) { SuperTaskValue newValue = new SuperTaskValue(); newValue.linkToTracker = superTask.linkToTrackers[i].ToString(); newValue.textBoxValue = field[i]; newValue.source = superTask.source[i]; Values.Add(newValue); } return(Values); }