| Some Facts About Partial Class
Below are 3 facts in partial class which will effect the whole class
(1)The name of every part of partial class should be same but source file name for each part of partial class can be different.
(2)Each Partial Type must be preceded with Partial keyword
(3)If we declare Partial as sealed or abstract then the entire class will alos be sealed and abstract.
(4)Accessibilty must be the same for Partial Type.
(5)Every parts of a partial class be in the same namespace.
(6)If we inherit a class or interface on a partial class, then it is inherited on all parts of a partial class. | | |