Im not 100% sure, (because I too am learning), but I dont think “Collection” is a valid class, let alone a valid generic class (Unless you wrote a class called Collection). Make sure you have the “System.Collections.Generic” reference, and you could use something like “List<>”…
List<[COLOR="Blue"]string[/COLOR]> people = new List<[COLOR="blue"]string[/COLOR]>();
If you right-click on Collection, there should be a menu-item called Resolve that will take care of this for you automatically (unless the actual reference itself isn’t there)
Yeah usually it pops up with a squiggly line under the error and will pop up a suggestion box when you hover on this squiggly line usually giving you the namespaces with the most similar sounding items in with the one you want at the top.
Of course if it already knows what you are talking about why does it need the imports statement :D?!?!?!
Oh, fair enough I program in .NET at work because noone knows C/C++ and they don’t really want the headache of learning a new syntax so I’ve not really used c#
Of course I do accidentally add braces and semicolons to the end of my .NET code sometimes