I have a problem with combining two lists of objects, here they are:
first one List<NSKData> NSKDataList = new List<NSKData>(); public class NSKData { public string ID { get; set; } public string Issue { get; set; } public string ToolTipInfoText { get; set; } public NSKData() { } public NSKData(string id, string issue, string tooltipinfo) { ID = id; Issue= issue; ToolTipInfoText = tooltipinfo; } } second one List<IssuesMoreInfo> IssuesMoreInfoList = new List<IssuesMoreInfo>(); public class IssuesMoreInfo { public string ID { get; set; } public string IssueMoreInfoText { get; set; } }
If I can get all the necessary data at one time, I will not ask this question, but I grab all the data for a fist, and only after I get the data for the second.
So, what do I need as a result: to get IssueMoreInfo from the second, according to the identifier in both, as well as for the identifier 10 in the first, we get the IssueMoreInfoText column in the second and pass it to one list in the ToolTipInfoText column
Hope for your help guys thanks
source share