using
directives can be removed CS-R1122The using
directive allows you to use types defined in a namespace without having to specify the fully qualified namespace. There is absolutely no need to specify a using
directive twice. Therefore, it is recommended that you remove such duplicate directives.
using System;
using System.Text;
using System.Collections.Generic;
using System.Text; // duplicate
using System;
using System.Text;
using System.Collections.Generic;