Click here to Skip to main content
16,011,702 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How to handle windows message in my .NET layer? Pin
Luc Pattyn25-May-10 18:06
sitebuilderLuc Pattyn25-May-10 18:06 
Questionhow to set Tag property of validationresult from WCF ValidationFault Pin
MurtuzaJ25-May-10 3:33
MurtuzaJ25-May-10 3:33 
Questionanother clarification about using static methods and instantiated methods for threads Pin
prasadbuddhika24-May-10 18:24
prasadbuddhika24-May-10 18:24 
AnswerRe: another clarification about using static methods and instantiated methods for threads Pin
Luc Pattyn24-May-10 18:48
sitebuilderLuc Pattyn24-May-10 18:48 
AnswerRe: another clarification about using static methods and instantiated methods for threads Pin
prasadbuddhika25-May-10 2:21
prasadbuddhika25-May-10 2:21 
Questionneed a clarification about inheritence Pin
prasadbuddhika24-May-10 2:53
prasadbuddhika24-May-10 2:53 
AnswerRe: need a clarification about inheritence Pin
Abhinav S24-May-10 3:07
Abhinav S24-May-10 3:07 
AnswerRe: need a clarification about inheritence Pin
Luc Pattyn24-May-10 5:00
sitebuilderLuc Pattyn24-May-10 5:00 
prasadbuddhika wrote:
A->B->C->D->E->F->G

A aa = new A();
G gg = new G();
aa = gg;


nothing gets cast. All the last statement does is forget the existing instance of class G is a highly specialized instance of class A.

If class G represents gray cats, and A represents animals, gg may be the little gray kitten you found yesterday on your doorstep and decided to call Fluffy; still your last statement just says: I'll forget it is gray, I'll forget it is a cat, I just remember it is an animal. But then, it won't meow anymore, as the Meow() method is not in class A, it only exists in F and G.

There is no activity involved.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

AnswerRe: need a clarification about inheritence Pin
prasadbuddhika24-May-10 17:41
prasadbuddhika24-May-10 17:41 
AnswerRe: need a clarification about inheritence Pin
NetQuestions24-May-10 19:16
NetQuestions24-May-10 19:16 
GeneralRe: need a clarification about inheritence Pin
prasadbuddhika24-May-10 22:59
prasadbuddhika24-May-10 22:59 
Questionxml to gridview [modified] Pin
Tomlor198022-May-10 2:49
Tomlor198022-May-10 2:49 
AnswerRe: xml to gridview Pin
Abhinav S22-May-10 3:01
Abhinav S22-May-10 3:01 
AnswerRe: xml to gridview Pin
Not Active22-May-10 3:02
mentorNot Active22-May-10 3:02 
AnswerRe: xml to gridview Pin
Not Active22-May-10 3:04
mentorNot Active22-May-10 3:04 
QuestionSave Image From Stream in .PBM Format Pin
Spilled21-May-10 6:56
Spilled21-May-10 6:56 
AnswerRe: Save Image From Stream in .PBM Format Pin
Luc Pattyn21-May-10 8:14
sitebuilderLuc Pattyn21-May-10 8:14 
QuestionUsing dynamic enum as type in a parameter of a method Pin
dashingsidds20-May-10 21:04
dashingsidds20-May-10 21:04 
AnswerRe: Using dynamic enum as type in a parameter of a method Pin
dashingsidds21-May-10 1:38
dashingsidds21-May-10 1:38 
GeneralRe: Using dynamic enum as type in a parameter of a method Pin
Not Active21-May-10 2:27
mentorNot Active21-May-10 2:27 
GeneralRe: Using dynamic enum as type in a parameter of a method Pin
dashingsidds21-May-10 3:05
dashingsidds21-May-10 3:05 
GeneralRe: Using dynamic enum as type in a parameter of a method Pin
Not Active21-May-10 3:15
mentorNot Active21-May-10 3:15 
GeneralRe: Using dynamic enum as type in a parameter of a method Pin
Shameel23-May-10 4:08
professionalShameel23-May-10 4:08 
GeneralRe: Using dynamic enum as type in a parameter of a method Pin
Not Active23-May-10 4:30
mentorNot Active23-May-10 4:30 
GeneralRe: Using dynamic enum as type in a parameter of a method Pin
PIEBALDconsult23-May-10 6:51
mvePIEBALDconsult23-May-10 6: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.