Hi, I’m new to this, and was just wondering what the difference between
using System.Collections.Generic;
and
using System.Collections;
in the MonoDevelop window is?
When should you add the word Generic?
Thanks,
Chris
Hi, I’m new to this, and was just wondering what the difference between
using System.Collections.Generic;
and
using System.Collections;
in the MonoDevelop window is?
When should you add the word Generic?
Thanks,
Chris
System.Collections.Generic namespace contains generic types of collection that garantees types of items.
For example:
Generic collection List:
List - could contains only integer values
But, non-generic collection ArrayList could contains items of any type - int, string ant so on.
You could type System.Collections. in IDE and will see the types of this namespace:
