This is the code. I've tried rewriting it in a new program but it's the same problem as soon as I create a class the "using system" and the others appear in light blue as well as attributes.
It means you can remove them from the file. Visual Studio includes some using
directives automatically when you create a class, because they're so frequently used.
For instance,
System
library includes types like String
, Int32
, DateTime
, tons of exceptions like IndexOutOfRangeException
, FormatException
, etc.System.Collections.Generic
library includes List<T>
, Dictionary<TKey, TValue>
, etc, and nearly every program will use a collection of some sort.System.Linq
library is self-explanatory; again, nearly every program will use LINQ.But if you don't use anything in them, Visual Studio greys them out so you know they're unused.
If you don't need them, you can delete them.