The code of Solution 2 is correct, but this is not the only option. You problem is not "before" or "after", but brackets. You also can do:
namespace website4 {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
}
Don't forget to remove unused "using"; Visual Studio has a menu item for that... And before it, don't forget to removed unused references.
—SA