For some reason my code won't work.
from tan in TANS
where tan.ID.ToString().Count() != 1
select tan
I want to select all IDs that are duplicates in a table so I am using the count != 1 and I get this error.
NotSupportedException: Sequence operators not supported for type 'System.String'
Help please?