asp.net, gettype() and fully qualified class names
问题 I've read through a few other threads on here, though none of them really explain how to resolve my issue. I have a web application with the following page (code behind) namespace Company.Web.UI.Content { public partial class Home_LoggedOut : Company.Web.UI.CompanyPage { string _myType = this.GetType().FullName.Replace(".", "_"); } } Now I'd have hoped to get something like: Company_Web_UI_Content_Home_LoggedOut but instead I'm getting: ASP_home_loggedout_aspx I'm clearly missing something