dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]"is not declared in this scope"


From: S11001001
Subject: [DotGNU]"is not declared in this scope"
Date: Wed, 27 Mar 2002 18:09:01 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.9) Gecko/20020310

Ok, I made pnetlib, and most of the compiler errors go along these lines:

...is not declared in this scope

Now, just taking a small sample...

System.UriBuilder references System.Uri. However, I didn't put a using declaration at the top of the file, because after all, UriBuilder is in the same namespace. However, when there is a using declaration, as with System.Text, classes from those work.

Does a namespace have to be imported with a using declaration, even if the statement is inside the same namespace?

--
I've run DOOM more in the last few days than I have the last few
months.  I just love debugging ;-)
        -- Linus Torvalds



reply via email to

[Prev in Thread] Current Thread [Next in Thread]