dotgnu-general
[Top][All Lists]
Advanced

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

Re: [DotGNU]possible error


From: Rhys Weatherley
Subject: Re: [DotGNU]possible error
Date: Wed, 18 Jun 2003 18:34:23 +1000
User-agent: KMail/1.4.3

On Wednesday 18 June 2003 05:02 pm, James Michael DuPont wrote:

> cscc test.cs
> test.cs:3: `Report' cannot be declared as a type
> test.cs:3: because it is already declared as namespace

MS'es csc compiler also gives an error.  C# doesn't allow namespaces and types 
with the same name, as it gives ambiguities in name resolution.

Cheers,

Rhys.



reply via email to

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