Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,832 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