mr-kenny
asked on
C# partial class Properties
Hi,
I have a question concerning partial classes: I have two Projects Project1 and Project2 in VS2010 .NET4.0.
Both have the namespace ClassLibrary1
In Project1 I have a partial Class1 with a property int i1. In Project2 i Reference the Project1 and define a partial Class1.
Now I want to access the property i1 in the Class1 from Project2, but the compiler says this property doesn't exist.
Why can't I access the property from the other part of the partial Class? (I hope my explanation is clear?).
regards,
I have a question concerning partial classes: I have two Projects Project1 and Project2 in VS2010 .NET4.0.
Both have the namespace ClassLibrary1
In Project1 I have a partial Class1 with a property int i1. In Project2 i Reference the Project1 and define a partial Class1.
Now I want to access the property i1 in the Class1 from Project2, but the compiler says this property doesn't exist.
Why can't I access the property from the other part of the partial Class? (I hope my explanation is clear?).
regards,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
ASKER
Thank's for your help.