G
Guest
Can you import namespaces into an ASP .NET 2005 web site project C# file? For
instance, when I run
using System.Collections.Generic;
public partial class _Default : System.Web.UI.Page, IMainView
{
List<Message> m_cached_messages =new List<Message>();
I get a compilation error complaining about that type or namespace List
could not be found. How can I import the namespace required for List<> so
that I don't have to write System.Collections.Generic.List<... all the time
when I want to use List<>?
instance, when I run
using System.Collections.Generic;
public partial class _Default : System.Web.UI.Page, IMainView
{
List<Message> m_cached_messages =new List<Message>();
I get a compilation error complaining about that type or namespace List
could not be found. How can I import the namespace required for List<> so
that I don't have to write System.Collections.Generic.List<... all the time
when I want to use List<>?