📅  最后修改于: 2022-03-11 15:00:51.089000             🧑  作者: Mango
System.Web.HttpContext.Current.Application.Lock();
System.Web.HttpContext.Current.Application["Name"] = "Value";
System.Web.HttpContext.Current.Application.UnLock();