TheSwamp
Code Red => .NET => Topic started by: JimAndi on August 23, 2011, 10:23:02 PM
-
Hi All,
I am trying to undertand the Layer functions listed in the Reference Links for LIBRARY Routine threads.
StringCollection layerset = new StringCollection(); What is this looking for... I am see an error "The type or namespace name 'StringCollection' could not be found (are you missing a using directive or an assembly reference?"
Help!
Jim
-
Hi,
Try:
System.Collections.Specialized.StringCollection layerset =
new System.Collections.Specialized.StringCollection();
or:
using System.Collections.Specialized
...
StringCollection layerset = new StringCollection();
You can use System.Collections.Generic.List<string> too.
-
Thank you.... as you can see I am very new to C# and trying to learn this... Again Thank you :lol: