Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
I want to know about abstract class .
Posted 28-Jan-14 2:55am
Comments
thatraja at 28-Jan-14 7:59am
   
Do Google search
Rate this: bad
good
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.
  Permalink  
Comments
thatraja at 28-Jan-14 8:23am
   
Please use your article instead of typing first paragraph of your answer.
 
5!
Pete O'Hanlon at 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 at 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 at 28-Jan-14 12:06pm
   
Excellent thought Sir and your article bookmarked. Very well said.
5+
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Dinesh.V.Kumar at 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
good
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
  Permalink  
v2

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

  Print Answers RSS
0 Maciej Los 290
1 OriginalGriff 275
2 Sergey Alexandrovich Kryukov 195
3 BillWoodruff 140
4 ProgramFOX 140
0 OriginalGriff 6,524
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,218
3 Manas Bhardwaj 4,657
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 4 May 2014
Copyright © CodeProject, 1999-2014
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