Atul Sharma <an*******@discussions.microsoft.com> wrote:
namespace aa
{
class aa
{
}
is this possible in c#
can namespace's name be same as Its one if the class's
name?
Yes - but it makes things considerably more complicated when it comes
to referring to the class elsewhere.
In short, you *can* do it, but it's a really bad idea.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too