Hi,
I am trying to find the difference between 2 lists and add the difference into 3rd list.
I wrote this 1 liner c# snippet :
But this is throwing an exception.
"Property or indexer 'ZennoLab.InterfacesLibrary.ProjectModel.Collections.ILists.this[string]' cannot be assigned to -- it is read only". [Row: 1; Column: 1]"
It is not letting me write to the List3. How can I make it save the difference in third list? Can someone please help?
Thanks
Nitin
I am trying to find the difference between 2 lists and add the difference into 3rd list.
I wrote this 1 liner c# snippet :
Код:
project.Lists["List3"] = project.Lists["List2"].Except(project.Lists["List1"]).ToList();
"Property or indexer 'ZennoLab.InterfacesLibrary.ProjectModel.Collections.ILists.this[string]' cannot be assigned to -- it is read only". [Row: 1; Column: 1]"
It is not letting me write to the List3. How can I make it save the difference in third list? Can someone please help?
Thanks
Nitin
Последнее редактирование: