Rules for Creating Partial Classes :
All the parts spread across different files must :
Use the partial Keyword.
must have the same access modifiers.
If any of the parts are declared abstract, then the entire type is considered as abstract.
If any of the parts are declared sealed, then the entire type is considered as Sealed.
If any of the parts inherit a class, then the entire type inherits that class
C# does not support multiple class inheritance. Different parts of the partial classes must not specify different base classes.
Different parts of the partial class can specify different base interfaces, and the final type implements all the interfaces listed by all of the partial declarations.
Any members that are declared in a partial definition are available to all of the other parts of the partial class.
ankpro
ankpro training
Asp.net MVC
C#
C sharp
Bangalore
Rajajinagar
Selenium
Coded UI
Mobile automation testing
Mobile testing
JQuery
JavaScript
.Net
Components of the .Net framework
Hello World
Literal
Keywords
Variable
Data types
Operators
Branching
Loops
Arrays
ArrayList
Strings
String Builder
Structures
Enums
Functions
Classes
Inheritance
Polymorphism
Properties
Indexers
Events
Nested Classes
Delegates
Anonymous methods
Labda expressions
Abstract classes
Exception Handling
Linq
Interfaces
Extension methods
Anonymous types
Generics
Collections
Garbage Collection
Reflection
Attributes
Input and output statements
Type casting
Boxing and Unboxing
Var vs Dynamic vs Object