AnsweredAssumed Answered

Using C#.Net how to groupby all the sub-element in one list and check with another list to delete non-matching element?

Question asked by Yasin@Cat on Aug 14, 2017
Latest reply on Aug 15, 2017 by Yasin@Cat

Hi All,


I'm trying to groupby all Subelement of one parent and compare with another group/list and delete the non-matching element from the hierarchy?




AF SubelementsList/Array in C#Header 3
Asset 1 - BXMMatching - RetainAsset 1 - BXM
Asset 2 - ABMNon Matching - DELETEAsset 2 - MYB
Asset 3 - YUXMatching RetainAsset 3 - YUX


Please help me with C#.Net scripting to perform the above task?