The whole program in a web form of a .net web-application:
namespace WebApplication1
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string x = "";
string y = String.Empty;
}
}
}
If I build the application, the compiler underlines x,
The variable x is assigned to but it´s value is never used
For y, I get no underlining. Why not? (VS 2008, .Net 3.5)