Click here to Skip to main content
12,996,709 members (78,988 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I want to know about abstract class .
Posted 28-Jan-14 1:55am
thatraja 28-Jan-14 7:59am
Do Google search
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

When I come across a term I don't understand, I find it helpful to do a Google and CodeProject search to see if there are any articles, wiki pages, blogs, etc, that detail the topic that I am interested in. In the case of a term that can be used outside of computing (e.g. abstract could refer to abstract thought, or a brief excerpt out of a book), I find it helpful to narrow the scope of my search by using a combination of "keyword" (if it's a keyword) and the language I'm interested in. Okay, so we've identified that you are going to query on Google (or Bing if that's your thing) using the phrase "abstract keyword c#". That should get you many hits.

Now most answers will stop at this point, but they are missing out on a very important part of your growth as a developer. What are the edge cases? In the case of abstract, is it possible to have a sealed abstract class (no - it wouldn't make sense)? What about if your abstract class doesn't have abstract methods - does it makes sense for it still to be abstract? As you progress as a developer, you will learn to ask questions like this - which will give you a more thorough understanding of the language.
thatraja 28-Jan-14 8:23am
Please use your article instead of typing first paragraph of your answer.

Pete O'Hanlon 28-Jan-14 8:27am
Thanks. I'm taking a different approach to helping people now - if I can teach just one person how to solve a problem then my time on CodeProject is time that I have spent well.
thatraja 28-Jan-14 8:32am
I just wanted to suggest you to less typing, that's all. And how about another article(sequel to previous one) based on different approach?

Besides, today I saw more than bunch of interview questions, that's why my comment here.
Rahul VB 28-Jan-14 12:06pm
Excellent thought Sir and your article bookmarked. Very well said.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Dinesh.V.Kumar 27-Feb-14 23:31pm
Can you please let me know why you downvoted my answer... The links do give info abt abstract class...Even though it helps you even if you dont vote it as an answer...I dont see any reason for the down vote!!!
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

The abstract modifier indicates that the thing being modified has a missing or incomplete implementation. The abstract modifier can be used with classes, methods, properties, indexers, and events. Use the abstract modifier in a class declaration to indicate that a class is intended only to be a base class of other classes. Members marked as abstract, or included in an abstract class, must be implemented by classes that derive from the abstract class

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170609.2 | Last Updated 4 May 2014
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100