I get the impression that a partial class can extend existing (compiled) code. Is this correct?
I've tried to mock up a simple example but I can't do it.
Here's what I did:
1. I created a simple partial class and compiled it.
2. I created a new console app. and added a reference to my previously created assembly.
3. I created a partial class in my console app. with the same name and same namespace as the previously compiled one.
4. I added a new property.
I've tried to mock up a simple example but I can't do it.
Here's what I did:
1. I created a simple partial class and compiled it.
2. I created a new console app. and added a reference to my previously created assembly.
3. I created a partial class in my console app. with the same name and same namespace as the previously compiled one.
4. I added a new property.