my issue is that I have an attribute as 'attribute' coming in from entity framework.So I retrieve this object which has a list of attribute tags, they are accessible via \[code\]attribute.AttributeTags\[/code\]. Now I have a \[code\]asp:TextBox\[/code\] where users can edit, remove and add new tags (comma separated). (On page load I am adding the attribute tags to this \[code\]TextBox\[/code\])After a postback on the page I am returning the user input and splitting it into an array of strings and storing it in a variable called \[code\]AttributeTags\[/code\].Now, I would like to add new tags that are not contained in the original \[code\]attributes\[/code\] list coming from EF and would like to \[code\]remove\[/code\] the ones that are contained in \[code\]attributes\[/code\] but not found in the user input string array \[code\]AttributeTags\[/code\].I am doing something like this:\[code\] BusinessObjects.Attribute attribute = db.Attributes.FirstOrDefault(a => a.attribute_id == AttributeID); string[] AttributeTags = txtAttributeTags.Text.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries); foreach (var item in AttributeTags) { if (!attribute.AttributeTags.Any(t => t.value =http://stackoverflow.com/questions/12767721/= item)) { AttributeTag tag = new AttributeTag { value = item, timestamp = DateTime.Now }; attribute.AttributeTags.Add(tag); } else { AttributeTag tag = attribute.AttributeTags.FirstOrDefault(t => t.value == item); } }\[/code\]But I'm sort of stuck here since i'm fairly new to LINQ and EF.Anyway, thanks in advance!