Introduction:
Here I will explain difference between instantiation and inheriting (inheritance) a class in c#, vb.net with example or instantiation vs inheritance in asp.net or how to instantiate and inherit a class in asp.net using c#, vb.net with example. In c# or vb.net instantiation means declaring object for class and inheritance means acquiring properties from base class.
Description:
In
previous posts I explained @@IDENTITY vs SCOPE_IDENTITY () vs IDENT_CURRENT, difference between dispose and finalize method in c#, authorization in asp.net, difference between page_init and
page_load events in asp.net, difference between ref and out
parameters in c#, delegates in c# with example and many articles
relating to
interview questions, asp.net, c#.net. Now I will explain difference
between instantiation and inheritance in c#, vb.net with example.