Is there any objective reason not to remove unused default includes from C# program?
Let's take this hello world project as an example:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello world");
}
}
}
Program works fine with the
using System.Collections.Generic;
using System.Linq;
using System.Text;
part commented out.
While this example is very simple, I don't see at this point any good reason to keep those three using lines in program.
"I might need that later" comes to mind as a reason, but that would be true for any library which comes with compiler.
I just want to say that I'm a beginner in C#, so I may be missing something really obvious.