c# arraylist functions
When you put then in the array list you could check to see if the item already exists. This code snippet will check to see if the string is already in the array and will only add it when the item doesn't already exist in the list. static void Main( string[] args ) AddToList( list, "Table1" ); foreach ( string s in list ) //this will loop the collection to show there are no duplicates private static void AddToList( ArrayList list, string p ) |