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"? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

18th May 2017, 4:31 AM
Celvien Kurniawan
Celvien Kurniawan - avatar
2 Answers
+ 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
18th May 2017, 4:39 AM
zakaria kasmi
zakaria kasmi - avatar
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.
31st Aug 2017, 11:51 AM
Abdulaziz Almawash
Abdulaziz Almawash - avatar