Click here to Skip to main content
15,914,222 members
Home / Discussions / C#
   

C#

 
QuestionNeed Serious Help!!! Pin
Niiiissssshhhhhuuuuu27-Oct-06 4:20
Niiiissssshhhhhuuuuu27-Oct-06 4:20 
QuestionInvoke Constructor method of any class that extends an Interface without having to specifically cast each class Pin
Jost Pedro27-Oct-06 4:14
Jost Pedro27-Oct-06 4:14 
AnswerRe: Invoke Constructor method of any class that extends an Interface without having to specifically cast each class Pin
led mike27-Oct-06 5:25
led mike27-Oct-06 5:25 
AnswerRe: Invoke Constructor method of any class that extends an Interface without having to specifically cast each class Pin
MGoettmann27-Oct-06 6:18
MGoettmann27-Oct-06 6:18 
AnswerRe: Invoke Constructor method of any class that extends an Interface without having to specifically cast each class Pin
S. Senthil Kumar28-Oct-06 4:11
S. Senthil Kumar28-Oct-06 4:11 
Questiongetting current logged-in user name of windows Pin
saqib8227-Oct-06 3:36
saqib8227-Oct-06 3:36 
AnswerRe: getting current logged-in user name of windows Pin
Eric Dahlvang27-Oct-06 4:00
Eric Dahlvang27-Oct-06 4:00 
QuestionIs the virtual keyword really necessary? Pin
Shy Agam27-Oct-06 3:07
Shy Agam27-Oct-06 3:07 
Hey all,

I have an abstract class which defines some functions, WITHOUT declaring them virtual.
When I derive from that class, I simply use the override keyword and declare the same signature for the function.
It works perfect AFAICT...

Is there any place we are forced to use the virtual keyword?
Is it wrong not to use it?
Does it break the polymorphism rules?

Thanks in advance,
Shy.
AnswerRe: Is the virtual keyword really necessary? Pin
Rob Philpott27-Oct-06 4:14
Rob Philpott27-Oct-06 4:14 
GeneralRe: Is the virtual keyword really necessary? Pin
Shy Agam27-Oct-06 4:19
Shy Agam27-Oct-06 4:19 
GeneralRe: Is the virtual keyword really necessary? Pin
Rob Philpott27-Oct-06 4:31
Rob Philpott27-Oct-06 4:31 
AnswerRe: Is the virtual keyword really necessary? Pin
Guffa27-Oct-06 4:34
Guffa27-Oct-06 4:34 
GeneralRe: Is the virtual keyword really necessary? Pin
Shy Agam27-Oct-06 4:36
Shy Agam27-Oct-06 4:36 
QuestionParameterized transactions & non-parameterised transacions Pin
Haseeb Mukhtar27-Oct-06 2:58
Haseeb Mukhtar27-Oct-06 2:58 
AnswerRe: Parameterized transactions & non-parameterised transacions Pin
Dustin Metzgar27-Oct-06 8:38
Dustin Metzgar27-Oct-06 8:38 
GeneralABT C# Pin
sanki77927-Oct-06 2:18
sanki77927-Oct-06 2:18 
GeneralRe: ABT C# Pin
ednrgc27-Oct-06 2:20
ednrgc27-Oct-06 2:20 
GeneralRe: ABT C# Pin
sanki77927-Oct-06 2:47
sanki77927-Oct-06 2:47 
GeneralRe: ABT C# Pin
ednrgc27-Oct-06 2:59
ednrgc27-Oct-06 2:59 
GeneralRe: ABT C# Pin
Kevin McFarlane27-Oct-06 4:02
Kevin McFarlane27-Oct-06 4:02 
GeneralRe: ABT C# Pin
Kevin McFarlane27-Oct-06 4:07
Kevin McFarlane27-Oct-06 4:07 
GeneralRe: ABT C# Pin
Rahithi27-Oct-06 10:50
Rahithi27-Oct-06 10:50 
Questiona few questions about C# and internet explorer ? Pin
cmpeng3427-Oct-06 1:49
cmpeng3427-Oct-06 1:49 
AnswerRe: a few questions about C# and internet explorer ? Pin
rah_sin27-Oct-06 2:07
professionalrah_sin27-Oct-06 2:07 
AnswerRe: a few questions about C# and internet explorer ? Pin
Niiiissssshhhhhuuuuu27-Oct-06 4:03
Niiiissssshhhhhuuuuu27-Oct-06 4:03 

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.