我在一个大网站的所有页面(.aspx 页面)中有一个我想要的类。我怎样才能做到这一点?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace masterbinoy.myGlobal
{
public static class myGlobal
{
static void checkAuthority(string url="~/Default.aspx")
{
}
}
}
现在我想要在所有其他网页中使用这个名称空间,即使我创建了一个新的网页,就像默认的系统名称空间一样