|Implementation||Some methods in abstract classes can have implementation.||All methods, function, properties in interfaces have to
|Scenario||Abstract classes are used when we want to share common
functionality in parent child relationship.
| Interfaces are used to define contract, enforce
standardization, decoupling and dynamic polymorphism.
|Variable declaration||We can declare variables||In interface we cannot do that.|
|Inheritance vs Implementation||Abstract classes are inherited.||Interfaces are implemented.|
Watch video on regular expression with practical demonstration as follows: –
Get more materials on interview questions and answers for .NET
See more stuffs on author’s blog for Most asked .NET interview questions