why we use abstract class in c# ?. what is the purpose of use to abstract class?.why abstract class concept come in c#?. we already have method overriding concept. i am facing problem to understand this .this question ask to me several time.please suggest me how to clear this concept.please help me how can i clear my oops concepts. thanks
Loading
MahaPosted Feb 20, 2015, 6:32 AM
Abstract class is explained in video form in the above link. But you have to pay for it. I watched other free videos and found good explanation is given.
Jignesh TrivediPosted Feb 19, 2015, 3:36 AM
Hi,
Are you gone through this article
http://www.c-sharpcorner.com/UploadFile/ff2f08/about-abstract-class-depth-look/
it might help you to understand abstract class
Prasham SabadraPosted Feb 19, 2015, 12:53 AM
Please have a look at following articles:
http://www.c-sharpcorner.com/UploadFile/0c1bb2/using-abstract-class-in-C-Sharp/
https://msdn.microsoft.com/en-us/library/ms173150.aspx
Afzaal Ahmad ZeeshanPosted Feb 18, 2015, 12:23 PM
The abstract keyword must be used on the class, before you can call override keyword on the members of it. You make a class abstract to tell the developer, that once he has inherited from the base-(abstract)-class, he is required to override the functions to add the body to them. You cannot override members, if the class is not abstract; virtual is also another keyword that allows you to let the developer override the members.