Object |
is an instance of class through which we can access the method of class |
Class |
- Class is reference type. When object of the class created, the variable to which the object is assigned holds only a reference to that memory.
- When the object reference is assigned to a new variable, new variable refers to the original object.
|
Interface |
- It is Abstract class
- Public abstract methods all of which must be implemented in inherited classes.
- Signature of functionality
- Single class, can implement multiple interfaces.
|
Inheritance |
- Together with encapsulation & polymorphism.
- Inheritance enables you to create new class that
1. Reuse 2. Extend 3. Modify behavior
is deriving the new class from already exist
|
Stack |
|
Heap |
|
Struct |
|
Shadow |
|
Boxing |
- Conversation of Value type to Reference Type of variable.
- E.g. Integer to Object type conversation
|
Un-Boxing |
|
Polymorphism |
1. At run time, objects of derived class may be treated as object of a base class in places such as method parameters and collections of arrays.
- When this occurs, the object’s declared type is no longer identical to its run-time type.
2. Base Classes may define and implement virtual methods, and derived classes can override them, which means they provide their own definition & implementation.
- At run-time, when client code calls the method, the CLR looks up the run-time type of the object, and invokes that override of virtual method.
- This in your source code you can call a method on a base class, and cause a derived class’s version of the method to be executed.
- Means one name, multiple forms
- Allows more than one function with same name in a program.
- Allow to overloading of operators, so that operation can exibit different behavior in different instances.
|
Im-Mutable |
|
Mutable |
|
Modifiers |
Abstract, Sealed, Virtual, Const, Event, Extern, Override, Readonly, Static, New |
Access-Modifiers |
|
Constructors |
is member function in a class that has the same name as its class |
Destructors |
|
Abstract |
Keyword enables you to create classes and class members that are incomplete and must be implemented in a derived class.
- A Class that must be inherited and have methods over-ridden
- A Class that cannot be instantiated
- Abstract classes can have empty abstract methods or it can have implemented methods which can be overridden by child classes
- is a base class or parent class
|
Event |
|
Delegate |
A delegate object encapsulates a reference to a method
A delegate is a type of user-defined variable that is declared globally, like a class, providing a template for a method.
Unlike a method, a delegate is not actually defined.
Its role is to give a view of a useful method. To represent a method, a delegate provides the necessary information that would be used on a method, including a return type, no argument or one or more arguments |
Threading |
|
Derived Class |
The class, that inherits those members, is called derived class.
- Derived class can have only one direct base class.
- Implicitly gain all members of base class, except for constructors & Destructors
|
Attributes |
|
Reflection |
Reflection is used for the late binding of an object in .Net. By using Reflection one can use the COM components and create the Objects of them at Runtime. It invokes the Methods , Properties etc of that COM Object
-System.Reflection namespace contains classes that can be used to interrogate the types for a module/assembly
-All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection
|
Reference Type |
|
Value Type |
|
Structure |
- Is value type. When Struct is created, the variable to which the Struct is assigned holds the struct’s actual data.
- When the Struct is assigned to a new variable, it is copied. The new variable & original variable therefore contain two separate copies of the same data.
- Changes made to one copy; do not affect the other copy
|
Assert |
|
Over Riding |
|
Nested Class |
|
Partial Class |
|
View State |
|
Serialization |
Process of converting object into stream of byte is called serialization |
Finalize |
|
Dispose |
|
Constant |
|
Read Only |
|
Direct Cast |
|
CType |
|
Event Bubbling |
Describe the behavior of events in child and parent nodes in the document object model(DOM) |
JQuery |
Simplifies HTML document traversing, animating, event handling, &AJAX interactions for the purpose of quic web development needs. |
Encapsulation |
- The wrapping up of data & functions into single unit (called class) is known as encapsulation.
- Encapsulation containing hiding information about object, such as internal data structure and code.
|
Sealed |
Keyword enables you to prevent the inheritance of a class or certain class members that were previously marked virtual |
Boxing |
- Conversation of Value type to Reference Type of variable.
- E.g. Integer to Object type conversation.
|
Scrum |
Agile Framework. Improve productivity in team, ability to prioritize work, use of backlog for completing items in a series of short iterations or sprints, daily measure, process and communication |
Polymorphism |
1. At run time, objects of derived class may be treated as object of a base class in places such as method parameters and collections of arrays.
- When this occurs, the object’s declared type is no longer identical to its run-time type.
2. Base Classes may define and implement virtual methods, and derived classes can override them, which means they provide their own definition & implementation.
- At run-time, when client code calls the method, the CLR looks up the run-time type of the object, and invokes that override of virtual method.
- This in your source code you can call a method on a base class, and cause a derived class’s version of the method to be executed.
- Means one name, multiple forms
- Allows more than one function with same name in a program.
- Allow to overloading of operators, so that operation can exibit different behavior in different instances
|