Jul 21, 2010 #1 stormbind Technical User Joined Mar 6, 2003 Messages 1,165 Location GB In Visual Studio, I right click References and select Add Reference.. I browse list of .NET Components and.. System.Collections is not in the list! How do I add this to the addable components? Thanks, --Glen Memoria mihi benigna erit qui eam perscribam
In Visual Studio, I right click References and select Add Reference.. I browse list of .NET Components and.. System.Collections is not in the list! How do I add this to the addable components? Thanks, --Glen Memoria mihi benigna erit qui eam perscribam
Jul 21, 2010 #2 DarwinIT Programmer Joined Apr 25, 2008 Messages 142 Location US From what I understand, System.Collections is part of the framework. All you have to do is put in a using statement. using System.Collections; and you're ready to go. Upvote 0 Downvote
From what I understand, System.Collections is part of the framework. All you have to do is put in a using statement. using System.Collections; and you're ready to go.
Jul 21, 2010 Thread starter #3 stormbind Technical User Joined Mar 6, 2003 Messages 1,165 Location GB Yeah but Visual Studio persisted in underlining HashTable. This didn't work: Code: using System.Collections; . . HashTable a = new HashTable(); This did work: Code: Hashtable a = new System.Collections.Hashtable(); *shrug* nevermind --Glen Memoria mihi benigna erit qui eam perscribam Upvote 0 Downvote
Yeah but Visual Studio persisted in underlining HashTable. This didn't work: Code: using System.Collections; . . HashTable a = new HashTable(); This did work: Code: Hashtable a = new System.Collections.Hashtable(); *shrug* nevermind --Glen Memoria mihi benigna erit qui eam perscribam
Jul 21, 2010 #4 ChewDoggie Programmer Joined Mar 14, 2005 Messages 604 Location US Keep in mind that C# is case sensative. So Code: HashTable a = new HashTable(); is not the same as Code: Hashtable a = new Hashtable(); HTH Chew 10% of your life is what happens to you. 90% of your life is how you deal with it. Upvote 0 Downvote
Keep in mind that C# is case sensative. So Code: HashTable a = new HashTable(); is not the same as Code: Hashtable a = new Hashtable(); HTH Chew 10% of your life is what happens to you. 90% of your life is how you deal with it.