0

why do we have using system, using system.collections.Generic, and so on?!

why there are so many "using....." commands are they similar like include<stdio.h> in C

16th Sep 2016, 2:47 PM
Nivetha D
Nivetha D - avatar
3 Réponses
+ 2
Yep.
16th Sep 2016, 3:38 PM
Zen
Zen - avatar
+ 2
yes, those "using"s are similar to include in C and C++. also similar to "import" in Java. That "using" keyword is used so that your code will be referenced to the libraries outside your class.
16th Sep 2016, 6:10 PM
Erwin Mesias
Erwin Mesias - avatar
+ 2
I think what he means is if we call using System, why should we call using System.Generics if Generics is a child class from System. I would understand that by calling System, you will have access to Generics as well, but thats not true, you still need to use System.Generics and so on.
17th Sep 2016, 5:35 AM
Pablo Hernandez