Click here to Skip to main content
15,907,493 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionasp.net Pin
Nitin Pant20-Dec-12 21:43
Nitin Pant20-Dec-12 21:43 
AnswerRe: asp.net Pin
Richard MacCutchan20-Dec-12 22:57
mveRichard MacCutchan20-Dec-12 22:57 
RantRe: asp.net Pin
Richard Deeming21-Dec-12 1:31
mveRichard Deeming21-Dec-12 1:31 
GeneralRe: asp.net Pin
Richard MacCutchan21-Dec-12 2:04
mveRichard MacCutchan21-Dec-12 2:04 
JokeRe: asp.net Pin
n.podbielski22-Dec-12 21:54
n.podbielski22-Dec-12 21:54 
AnswerRe: asp.net Pin
J4amieC20-Dec-12 23:26
J4amieC20-Dec-12 23:26 
AnswerRe: asp.net Pin
Thomas Daniels20-Dec-12 23:52
mentorThomas Daniels20-Dec-12 23:52 
AnswerRe: asp.net Pin
CommDev23-Dec-12 14:15
CommDev23-Dec-12 14:15 
Hi,
An abstract class is a class that contains a pure virtual method or function(inc c++). In C#, you do not need a pure virtual method to make a class abstract, just the keyword. Essentially when you make a class abstract, you are saying that you do not want any specific instances of it made, but the class can be used for inheritance. C# only supports single class inheritance. Also, with an abstract class it can contain other non pure virtual methods that provide functionality. For example, I can make an abstract class named Shape with a property to get and set the name and implement an abstract method to return the number of vertexes for that shape. I can't make a shape object, but I can inherit from it to make a square. I do not need to implement the name method because it is already defined, but I do need to implement the vertexes one because it is a pure virtual method.
Interfaces can be thought of as an abstract class that only contains pure virtual methods; however, in C# you can implement multiple interfaces to produce certain behaviors. You still need to implement all of the pure virtual methods, but you can use an interface and another class to represent a different "is-a" relationship.
Comm100 - Leading Live Chat Software Provider


modified 28-May-14 1:47am.

QuestionProblem with change Gridview cell value Pin
jojoba201119-Dec-12 23:24
jojoba201119-Dec-12 23:24 
AnswerRe: Problem with change Gridview cell value Pin
CommDev23-Dec-12 14:24
CommDev23-Dec-12 14:24 
QuestionHow to add anchor tag in uploded html page Pin
VyasRavi677619-Dec-12 18:54
VyasRavi677619-Dec-12 18:54 
AnswerRe: How to add anchor tag in uploded html page Pin
AmitGajjar20-Dec-12 5:39
professionalAmitGajjar20-Dec-12 5:39 
GeneralRe: How to add anchor tag in uploded html page Pin
chirag774920-Dec-12 21:34
chirag774920-Dec-12 21:34 
AnswerRe: How to add anchor tag in uploded html page Pin
CommDev20-Dec-12 20:04
CommDev20-Dec-12 20:04 
GeneralRe: How to add anchor tag in uploded html page Pin
chirag774920-Dec-12 20:14
chirag774920-Dec-12 20:14 
GeneralRe: How to add anchor tag in uploded html page Pin
n.podbielski22-Dec-12 21:57
n.podbielski22-Dec-12 21:57 
GeneralRe: How to add anchor tag in uploded html page Pin
n.podbielski22-Dec-12 21:57
n.podbielski22-Dec-12 21:57 
Questionjquery for asp.net sometimes work sometimes doesn't work Pin
Dhyanga19-Dec-12 11:57
Dhyanga19-Dec-12 11:57 
AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pin
jkirkerx19-Dec-12 17:25
professionaljkirkerx19-Dec-12 17:25 
GeneralRe: jquery for asp.net sometimes work sometimes doesn't work Pin
Dhyanga19-Dec-12 17:50
Dhyanga19-Dec-12 17:50 
AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pin
jkirkerx19-Dec-12 18:09
professionaljkirkerx19-Dec-12 18:09 
QuestionOnly 1 use for admin? Pin
xnaLearner19-Dec-12 1:28
xnaLearner19-Dec-12 1:28 
QuestionHave userID in view, need userName posted Pin
xnaLearner19-Dec-12 0:41
xnaLearner19-Dec-12 0:41 
AnswerRe: Have userID in view, need userName posted Pin
Matt U.19-Dec-12 4:11
Matt U.19-Dec-12 4:11 
AnswerRe: Have userID in view, need userName posted Pin
CommDev20-Dec-12 22:55
CommDev20-Dec-12 22:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.