Posts

Showing posts with the label C# Basics

Difference between Abstract class and Interface

Image
Difference etween Abstract class and Interface In C# "Abstract Class - Interface Difference" : Every OOPS/JAVA/C# developer would have faced this question at least once in their development career. If you are a fresher, hopefully following real time example could be helpful for you to understand them. Please note that this example is only for understanding the concept and could suit approximately and not appropriately. Assume you have to purchase shirts for your brother and cousin for upcoming traditional function. You have only Rs.10000 in your hand and hence you are fixing Rs.5000 per head for the shirt. Now the problem is, you don't know anything about their liking and disliking. So you have decided to give the amount to choose of their own. P...