Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Player Input and Cameras Program Games with C# and Unity

Felipe Lo Valvo
Felipe Lo Valvo
194 Points

using System.Collections.Generic;

in mono develop theres a line of code that wasn't mentioned in the video called "System.Collections.Generic". i don't know what does it mean or if will maybe affect my game, if someone knows please tell me.

1 Answer

Ivan Penchev
Ivan Penchev
13,833 Points

I have the feeling that you are not a hardcode c# dev, and thats is not a problem!

The System.Collections.Generic namespace contains interfaces and classes that define generic collections.

That basically mean that including it, would give us access to things such as HashSet, LinkedList and so forth.

Oh yeah too links, that may help you: https://msdn.microsoft.com/en-us/library/system.collections.generic(v=vs.110).aspx and https://docs.microsoft.com/en-us/dotnet/standard/collections/when-to-use-generic-collections