What do you mean by partial method and what is its use?
A partial method has its signature defined in one part of a partial type, and its implementation defined in another part of the type. Partial methods enable class designers to provide method hooks, similar to event handlers, that developers may decide to implement or not. If the developer does not supply an implementation, the compiler removes the signature at compile time. The following conditions apply to partial methods:
Signatures in both parts of the partial type must match.
The method must return void.
No access modifiers are allowed. Partial methods are implicitly private.
More details at
Partial method is always part of partial class, and it is always private.
Back to Questions
Hi, this is Biju, working as IT Consultant in CGI,
Bangalore, India. I started this website in May 2012 to explore DOT NET Skills.
I make use of ASP.NET, MVC, SOAP Services, WCF Services, AJAX, JQuery, CSS, SMTP
EMail Client, Responsive UI Design, Custom CMS etc. If you like, send your articles,
white papers, travel notes, videos etc. to
me for publishing.
Terms of Service