// Определение максимальной длины списка
int maxLength = (SourceList.Count > ChangeList.Count) ?
SourceList.Count : ChangeList.Count;
List<string> ResultTestList = new List<string>();
for (int i = 0; i < ChangeList.Count; i++)
{
string _line2 = ChangeList[i].ToString();
if (SourceList.Contains(_line2))
{
ResultTestList.Add(_line2);
}
else
{
ResultTestList.Add(_line2 + ": [+]");
}
}
var diff_arr = SourceList.Except(ChangeList);
foreach (var item in diff_arr)
{
ResultTestList.Add(item.ToString() + ": [-]");
}
ResultTestList.Count();