Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
QuestionCallBack to consumer using RESTful / MVC / WCF Pin
jexes23-Apr-13 22:51
jexes23-Apr-13 22:51 
QuestionProgramming a Symbol Handheld Scanner Pin
bob18123-Apr-13 20:57
professionalbob18123-Apr-13 20:57 
AnswerRe: Programming a Symbol Handheld Scanner Pin
Pete O'Hanlon23-Apr-13 21:29
mvePete O'Hanlon23-Apr-13 21:29 
AnswerRe: Programming a Symbol Handheld Scanner Pin
Joe Woodbury24-Apr-13 8:19
professionalJoe Woodbury24-Apr-13 8:19 
Questionprinting students grades after finding them in files.. Pin
Magda634723-Apr-13 9:30
Magda634723-Apr-13 9:30 
AnswerRe: printing students grades after finding them in files.. Pin
Eddy Vluggen23-Apr-13 9:36
professionalEddy Vluggen23-Apr-13 9:36 
QuestionWhich one is overriding and which one is overloading Pin
Arun kumar Gautam23-Apr-13 2:55
Arun kumar Gautam23-Apr-13 2:55 
AnswerRe: Which one is overriding and which one is overloading Pin
Keith Barrow23-Apr-13 3:07
professionalKeith Barrow23-Apr-13 3:07 
Arun kumar Gautam wrote:
it overloading or overriding????

According to the code you have neither.

Polymorphism (search for overridden methods)[^]
Overloading[^]

The first would require one class to subclass and have a method with the same name AND input parameters (and the virtual/override keywords in c#). The second requires two methods with the same name but different input parameters (these can be in the same class or inheritance hierarchy). If b subclassed a or vice versa add would be overloaded, but there would be no overriding.

Perhaps you copied the code from the question down incorrectly?
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed”
“One of the greatest problems of our time is that many are schooled but few are educated”


Sir Thomas More (1478 – 1535)

AnswerRe: Which one is overriding and which one is overloading Pin
ZurdoDev23-Apr-13 9:08
professionalZurdoDev23-Apr-13 9:08 
AnswerRe: Which one is overriding and which one is overloading Pin
Clifford Nelson24-Apr-13 14:23
Clifford Nelson24-Apr-13 14:23 
AnswerRe: Which one is overriding and which one is overloading Pin
Arun kumar Gautam24-Apr-13 19:22
Arun kumar Gautam24-Apr-13 19:22 
GeneralRe: Which one is overriding and which one is overloading Pin
Keith Barrow24-Apr-13 23:29
professionalKeith Barrow24-Apr-13 23:29 
GeneralRe: Which one is overriding and which one is overloading Pin
Arun kumar Gautam25-Apr-13 1:57
Arun kumar Gautam25-Apr-13 1:57 
GeneralRe: Which one is overriding and which one is overloading Pin
Keith Barrow25-Apr-13 2:05
professionalKeith Barrow25-Apr-13 2:05 
GeneralRe: Which one is overriding and which one is overloading Pin
Arun kumar Gautam25-Apr-13 20:24
Arun kumar Gautam25-Apr-13 20:24 
GeneralRe: Which one is overriding and which one is overloading Pin
Keith Barrow25-Apr-13 22:16
professionalKeith Barrow25-Apr-13 22:16 
AnswerRe: Which one is overriding and which one is overloading Pin
Clifford Nelson25-Apr-13 16:27
Clifford Nelson25-Apr-13 16:27 
QuestionChanging the "user" configuration file Pin
Boris The Bold23-Apr-13 2:26
Boris The Bold23-Apr-13 2:26 
AnswerRe: Changing the "user" configuration file Pin
SledgeHammer0123-Apr-13 4:55
SledgeHammer0123-Apr-13 4:55 
GeneralRe: Changing the "user" configuration file Pin
Boris The Bold23-Apr-13 22:56
Boris The Bold23-Apr-13 22:56 
GeneralRe: Changing the "user" configuration file Pin
SledgeHammer0124-Apr-13 4:45
SledgeHammer0124-Apr-13 4:45 
GeneralRe: Changing the "user" configuration file Pin
Boris The Bold24-Apr-13 4:54
Boris The Bold24-Apr-13 4:54 
GeneralRe: Changing the "user" configuration file Pin
SledgeHammer0124-Apr-13 6:40
SledgeHammer0124-Apr-13 6:40 
GeneralRe: Changing the "user" configuration file Pin
Boris The Bold24-Apr-13 21:31
Boris The Bold24-Apr-13 21:31 
GeneralRe: Changing the "user" configuration file Pin
Pete O'Hanlon24-Apr-13 23:51
mvePete O'Hanlon24-Apr-13 23:51 

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.