We can use partial
type modifier to split the type definition into more than one files.
The following code shows how to use the partial
keyword.
File: Rectangle1.cs
partial class Rectangle{
}
File: Rectangle2.cs
partial class Rectangle{
}
Members cannot be duplicated across partial types.
java2s.com | Contact Us | Privacy Policy |
Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
All other trademarks are property of their respective owners. |