I
INeedADip
Are the using statements at the top of each .cs file mainly for UI and
type compatibility, or do they actually create dependencies for each
page.
When I create a new aspx page the following using statements are
included be default:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
I ask because I rarely use any System.Data objects. Is the compiler
smart enough to just "ignore" the using statment if I'm not actually
using anything from that namespace, or should I delete it for some
reason.
This isn't a problem by any means....I'm just curious.
type compatibility, or do they actually create dependencies for each
page.
When I create a new aspx page the following using statements are
included be default:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
I ask because I rarely use any System.Data objects. Is the compiler
smart enough to just "ignore" the using statment if I'm not actually
using anything from that namespace, or should I delete it for some
reason.
This isn't a problem by any means....I'm just curious.