Click here to Skip to main content
15,886,835 members
Articles / Programming Languages / Visual Basic

Remove duplicate entries from string array

Rate me:
Please Sign up or sign in to vote.
3.00/5 (5 votes)
4 Mar 2010CPOL 37K   5  
This VS2008 or higher extension uses a LINQ statement to remove duplicate items from a string array but is not case sensitive, also you might like to leave the sort/order-by in the extension or remove it.ExampleDim Names() As String = {"Bob", "Mary", "bob", "Bob", "Jane", "Kevin",...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Instructor / Trainer
United States United States
Microsoft MVP, Uses Microsoft Visual Studio ecosystem building web and desktop solutions

Comments and Discussions