Best C Sharp Video Inheritance Concepts in C Sharp.Best Dot Net Training
Description: Best C Sharp Video Inheritance Concepts in C Sharp.Best Dot Net Training
Watch Free C# videos, Subscribe to our channel and Click on the bell icon for more updates.
Best C Sharp Video Inheritance Concepts in C Sharp.Best Dot Net Training
For Best Courses Online Visit Our Website
https://www.bestdotnettraining.com/
This Video Inheritance Concepts in C#
Is recorded by Mr Sandeep Soni, MCT
In this video we have covered the following topics:
========================================
Agenda
1. Introduction to Inheritance
2. Constructors & Inheritance
3. Typecasting of Reference Types
4. Static and dynamic binding
5. Abstract classes
Overview
Inheritance depends upon “is a” relationship.
For example:
The car is a Vehicle
A faculty is a Person
A student is a Person
The chair is a Furniture
Static and Dynamic Binding
Virtual methods are dynamically bound i.e., the actual method called would be decided at runtime and the decision
is based on the object to which the reference variable invoking the method is referring to.
Abstract Classes and Methods
1. An abstract method is a method in which a declaration is provided
but an implementation is not.
2. A class with one or more methods declared as abstract must be
declared as abstract and such a class cannot
be instantiated because its behaviour is incomplete.
System.Object Class
Every class in .NET is inherited from System. Object class. Thus the functionality in Object class is available to all the
objects in .NET. Also the reference variable of type System. An object can refer to instance/object of any class in .NET
Methods in Object class:
1. bool Equals(object obj) // Compares the current object reference
with obj and returns true if both are
referring to the same object otherwise returns false.
2. System.Type GetType() //returns the Type instance for the
current objects class.
For more details regarding https://www.bestdotnettraining.com/csharp-online-training
Visit Our Complete Video Tutorials channel
https://www.youtube.com/user/Deccansoft123
This Video Tutorial is thought by Mr Sandeep Soni Microsoft Certified Trainer having 20 Years of IT Industrial Experience guided 100+ Corporate experts, about 50000 + students got prepared under his initiative.
In this instructional exercise, ideas are taught with ongoing Examples in simple and justifiable strategies for absolute beginners to cutting-edge levels.
Visit for More Video Tutorials provided by Microsoft Certified Trainer in MS.NET Technologies
Follow us :
Facebook: https://www.facebook.com/bestdotnetTraining
Google+: https://plus.google.com/u/0/106673331317048429651