Can i have a two partial classes with same name in a two different namespace? is it work ?
for ex
namespace1
{
partial class A
{
}
}
namespace2
{
partial class A
{
}
}
is it work?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SenthilkumarPosted Apr 3, 2012, 9:58 AM
MuthuMari MPosted Apr 4, 2012, 12:53 AM
VulpesPosted Apr 3, 2012, 9:40 AM
Code similar to what you have will compile but the A's in each namespace will be different classes i.e. they won't be partial classes of each other.