Webopedia on Google+Webopedia on TwitterWebopedia on FacebookTech Bytes Blog
Main » TERM » P »

partial methods

Partial classes and partial methods are two programming language features of .NET programming languages that make it possible for developers to extend and enhance auto-generated code.

Partial methods are methods defined in a partial class that are (optionally) divided across two files. With partial methods one file contains the method signature - the method name, its return type, and its input parameters - while the body is (optionally) defined in a separate file. If the partial method's body is not defined then the compiler automatically removes the partial method signature and all calls to the method at compile-time. Compare with  partial classes.

See "An Overview of Partial Classes and Partial Methods" on ASP.NET.4GuysFromRolla.com.







TECH RESOURCES FROM OUR PARTNERS
DID YOU KNOW?
The Five Generations of Computers

Learn about each of the five generations of computers and major technology developments that have led to the current devices that we use today. Read More »

Small Business Marketing's Greatest Hits

The following compilation of small business marketing tips highlights some of the expert advice published over at Small Business Computing. Read More »

13 Best Free Android Apps

From secure messaging to document editing, our top free must-have apps have been rated, reviewed and named the best free Android apps of 2015. Read More »

QUICK REFERENCE
5 Best Cloud Storage Services

With cost and security in mind, we look at five cloud storage options that will suit the needs of most home and SMB owners. Read More »

Windows 10 Tips for Desktop PC

Five basic tips to help you customize Windows 10 on your desktop PC. Read More »

29 Free Android Apps for Cash-Strapped Students

From wacky alarm clocks to lecture hall tools and after class entertainment, these Android apps are a good fit for a student's life and budget. Read More »