Partial type can have partial methods.
partial class Rectangle{
partial void calculate();
}
partial class Rectangle{
partial void calculate(){
Console.WriteLine("doing the calculation");
}
}
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. |