Watch Free C# videos, Subscribe to our channel and Click on the bell icon for more updates.

https://bit.ly/2ydTaPo

For Best Courses Online Visit Our Website

https://www.bestdotnettraining.com/

This Video Inheritance 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. Type casting of Reference Types
4. Static and dynamic binding
5. Abstract classes

Overview

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/csharp-online-training

Visit Our Complete Video Tutorials channel
https://www.youtube.com/user/Deccansoft123

This Video Tutorial is thought by Mr. Sandeep Soni Certified Trainer having 20 Years of IT Experience guided 0+ 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 :
: https://www.facebook.com/bestdotnetTraining
Google+: https://plus.google.com/u/0/106673331317048429651

Please follow and like us:

0


Post Views:
45



Source link
thanks you RSS link
( http://.bestdotnettraining.com/best-c-video-inheritance-concepts-c-program-c/)

LEAVE A REPLY

Please enter your comment!
Please enter your name here