using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
I have to put the above code in almost every .cs file. Is there any way to avoid it?
Add a class to your project and type these using statements. File + Export Template. Select Item template, Next. Tick your class, Next. Tick System and System.Core, Next. Pick good values here, to your taste. Finish.
You can now start a new source code file from this template with Project + Add New Item.