Click here to Skip to main content
15,905,073 members
Home / Discussions / C#
   

C#

 
Questionmultithreaded application Pin
Member 5903104-Feb-10 19:31
Member 5903104-Feb-10 19:31 
AnswerRe: multithreaded application Pin
Not Active4-Feb-10 20:12
mentorNot Active4-Feb-10 20:12 
AnswerRe: multithreaded application Pin
Calla4-Feb-10 20:52
Calla4-Feb-10 20:52 
Questionhow can i select null instances using datacontext.tablename.select ? Pin
tonyonlinux4-Feb-10 19:13
tonyonlinux4-Feb-10 19:13 
AnswerRe: how can i select null instances using datacontext.tablename.select ? Pin
Not Active4-Feb-10 20:10
mentorNot Active4-Feb-10 20:10 
GeneralRe: how can i select null instances using datacontext.tablename.select ? Pin
tonyonlinux4-Feb-10 20:21
tonyonlinux4-Feb-10 20:21 
GeneralRe: how can i select null instances using datacontext.tablename.select ? Pin
Not Active4-Feb-10 20:48
mentorNot Active4-Feb-10 20:48 
QuestionInheritance/Polymorphism [modified] Pin
Sundeepan Sen4-Feb-10 18:26
Sundeepan Sen4-Feb-10 18:26 
Hello all, my name is Sundeepan and I am new to this board and to coding as well. To train myself and get familiar with OOP concepts using the C# language I am reading, "Microsoft .NET Framework - Application Development Foundation" book by Tony Northrup. I am finding this book very informative. I do have a question that I was not able to find an answer to by querying Google. The question is as follows:

If a method requires an object as one of its parameters why should one not pass an object of a base class, instead one must pass an object of the derived class?

I understand that this might be a foolish question, but I am at a very early stage of my learning, any help would be appreciated. Metaphors are equally as helpful as a technical answer.

Regards

Sundeepan

http://sundeepinthought.blogspot.com

modified on Friday, February 5, 2010 12:32 AM

AnswerRe: Inheritance/Polymorphism Pin
Not Active4-Feb-10 20:07
mentorNot Active4-Feb-10 20:07 
GeneralRe: Inheritance/Polymorphism Pin
Sundeepan Sen4-Feb-10 20:28
Sundeepan Sen4-Feb-10 20:28 
AnswerRe: Inheritance/Polymorphism Pin
Wamuti4-Feb-10 21:58
Wamuti4-Feb-10 21:58 
AnswerRe: Inheritance/Polymorphism Pin
PIEBALDconsult5-Feb-10 3:19
mvePIEBALDconsult5-Feb-10 3:19 
GeneralRe: Inheritance/Polymorphism Pin
Sundeepan Sen5-Feb-10 7:04
Sundeepan Sen5-Feb-10 7:04 
GeneralRe: Inheritance/Polymorphism Pin
PIEBALDconsult5-Feb-10 7:50
mvePIEBALDconsult5-Feb-10 7:50 
GeneralRe: Inheritance/Polymorphism Pin
Sundeepan Sen5-Feb-10 9:24
Sundeepan Sen5-Feb-10 9:24 
AnswerRe: Inheritance/Polymorphism Pin
Keith Barrow5-Feb-10 5:23
professionalKeith Barrow5-Feb-10 5:23 
GeneralRe: Inheritance/Polymorphism Pin
Sundeepan Sen5-Feb-10 10:05
Sundeepan Sen5-Feb-10 10:05 
QuestionWindowsAPICodePack GlassForm Question Pin
harsimranb4-Feb-10 17:06
harsimranb4-Feb-10 17:06 
AnswerRe: WindowsAPICodePack GlassForm Question Pin
#realJSOP5-Feb-10 0:17
professional#realJSOP5-Feb-10 0:17 
GeneralRe: WindowsAPICodePack GlassForm Question Pin
harsimranb5-Feb-10 9:14
harsimranb5-Feb-10 9:14 
GeneralRe: WindowsAPICodePack GlassForm Question Pin
#realJSOP5-Feb-10 9:37
professional#realJSOP5-Feb-10 9:37 
GeneralRe: WindowsAPICodePack GlassForm Question Pin
harsimranb5-Feb-10 14:45
harsimranb5-Feb-10 14:45 
GeneralRe: WindowsAPICodePack GlassForm Question Pin
#realJSOP5-Feb-10 22:28
professional#realJSOP5-Feb-10 22:28 
QuestionHow would i get the current Index ID of the currently displayed record Pin
tonyonlinux4-Feb-10 15:51
tonyonlinux4-Feb-10 15:51 
AnswerRe: How would i get the current Index ID of the currently displayed record Pin
PIEBALDconsult4-Feb-10 16:39
mvePIEBALDconsult4-Feb-10 16:39 

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.