+ 2
hello there. i'm still green in c# and there's somthing that i want to know.what's the meaning of "system.collections.generic"?
just curiosity
2 Respostas
+ 4
using system.collection.generic ;
tells vs that you are going to use a class that exist in system.collection.generic
for ex if you want to use (ArrayList) you must include using system.collection.generic ;
or just use the . dot syntax
0
You need to know how to deal with namespaces that help you include classes from outside your code, anyways, system.collections.generic imports all different types of generic collections to store data in different ways, but if you are lazy to include it, but excited to do long-sentence job you can access a single class in that namespace by saying system.collections.generic.typeYouWant and deal with it directly without including the whole namespace.