Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is the difference between abstract and partial classes?
Posted

A partial class is a class that is split across more than one file.

It is typically used in a code-generation scenario where the part of the class that the code generator writes is kept in one file and the bit a harassed human writes is kept in another file. At compile time these two files are combined to make the one class.

An abstract class is one that cannot be directly instantiated. Instead other classes must inherit from it and add/override the functionality they need.
 
Share this answer
 
Comments
Ravi Bhavnani 6-Mar-14 15:09pm    
More correctly, "override and optionally add" not "add/override".

/ravi

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900