Home All Groups Group Topic Archive Search About

Namespace and Project reference

Author
1 Nov 2006 3:39 PM
Anandhi
I have a class A in my project. I also have a project reference projectB. The
project and classA have method Add(). I have added the classA in my code by
"using" in my webform. Will there be a compiler error, If I refer to add() of
class A, as it is a method in the ProjectB also.

Author
1 Nov 2006 4:17 PM
Kevin Spencer
classAInstanceName.Add()

--
HTH,

Kevin Spencer
Microsoft MVP
Short Order Coder
http://unclechutney.blogspot.com

The devil is in the yada yada yada


Show quote
"Anandhi" <Anan***@discussions.microsoft.com> wrote in message
news:40B499FA-C180-4EC5-938F-39BCDE1C9393@microsoft.com...
>I have a class A in my project. I also have a project reference projectB.
>The
> project and classA have method Add(). I have added the classA in my code
> by
> "using" in my webform. Will there be a compiler error, If I refer to add()
> of
> class A, as it is a method in the ProjectB also.
>
>

AddThis Social Bookmark Button