Inheritance Concepts in C# - How to Program in C#?




Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Aug 26, 2011

This Video Inheritance Concepts in C#

Is recorded by Mr. Sandeep Soni,MCT

In this video we have covered the following topics:


1. Introduction to Inheritance
2. Constructors & Inheritance
3. Type casting of Reference Types
4. Static and dynamic binding
5. Abstract classes


Inheritance depends upon “is a” relationship.
For example:
 Car is a Vehicle
 Faculty is a Person
 Student is a Person
 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 declaration is provided but 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 behavior 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.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/cs...

Visit Our Complete Video Tutorials channel

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/bestdotnetTr...
Google+: https://plus.google.com/u/0/106673331...


to add this to Watch Later

Add to

Loading playlists...