C
clintonG
When using Visual Studio.NET I observe adding a new Web Form may have
default References added such as...
References
o- System
o- System.Data
o- System.Drawing
o- System.Web
o- System.XML
The source code will often contain what seems to be redundant declarations
as follows...
using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.XML;
Is there any reason References and what is declared in the code-behind
should be synchronized? Is there in fact redundantcy in this context?
Finally, when converting a VB project that has a Reference to
Microsoft.VisualBasic is it sufficient to declare the use of the equivalent
namespace by using Microsoft.CSharp; declared in the code-behind? I could
not find any 'reference' to Microsoft.CSharp when trying to 'Add Reference.'
<%= Clinton Gallagher
default References added such as...
References
o- System
o- System.Data
o- System.Drawing
o- System.Web
o- System.XML
The source code will often contain what seems to be redundant declarations
as follows...
using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.XML;
Is there any reason References and what is declared in the code-behind
should be synchronized? Is there in fact redundantcy in this context?
Finally, when converting a VB project that has a Reference to
Microsoft.VisualBasic is it sufficient to declare the use of the equivalent
namespace by using Microsoft.CSharp; declared in the code-behind? I could
not find any 'reference' to Microsoft.CSharp when trying to 'Add Reference.'
<%= Clinton Gallagher