Partial type can have partial methods.
partial class Rectangle{
partial void calculate();
}
partial class Rectangle{
partial void calculate(){
Console.WriteLine("doing the calculation");
}
}
| w__ww__._j___a___v__a___2___s.c___o___m___ | Contact Us |
| Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
| All other trademarks are property of their respective owners. |