Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
QuestionControl input and output of one software? Pin
dnqhung10-Feb-11 19:43
dnqhung10-Feb-11 19:43 
AnswerRe: Control input and output of one software? Pin
Rajesh R Subramanian10-Feb-11 21:27
professionalRajesh R Subramanian10-Feb-11 21:27 
GeneralRe: Control input and output of one software? Pin
dnqhung11-Feb-11 15:15
dnqhung11-Feb-11 15:15 
AnswerRe: Control input and output of one software? Pin
PIEBALDconsult11-Feb-11 0:38
mvePIEBALDconsult11-Feb-11 0:38 
GeneralRe: Control input and output of one software? Pin
dnqhung11-Feb-11 15:17
dnqhung11-Feb-11 15:17 
QuestionFeedback on my current project and its code [modified] Pin
venomation10-Feb-11 18:56
venomation10-Feb-11 18:56 
AnswerRe: Feedback on my current project and its code Pin
OriginalGriff10-Feb-11 21:34
mveOriginalGriff10-Feb-11 21:34 
QuestionCalling destructor in C# - observer pattern problem Pin
Chesnokov Yuriy10-Feb-11 10:10
professionalChesnokov Yuriy10-Feb-11 10:10 
How to destroy object (observer) if it is referenced in another class and in destruction code of the observer it asks the subject to detatch it?
In C++ it is possible to call delete to invoke destructor but in C# assigning null to observer object will not release it as there is active reference in the subject.
Once the observer attached to its subject it is not possible to stop observation following strictly destructor patterns as in C++.
What is the best way to destroy observer object?
Чесноков

AnswerRe: Calling destructor in C# - observer pattern problem Pin
Yusuf10-Feb-11 13:14
Yusuf10-Feb-11 13:14 
GeneralRe: Calling destructor in C# - observer pattern problem Pin
Henry Minute10-Feb-11 13:34
Henry Minute10-Feb-11 13:34 
GeneralRe: Calling destructor in C# - observer pattern problem Pin
Yusuf10-Feb-11 16:16
Yusuf10-Feb-11 16:16 
GeneralRe: Calling destructor in C# - observer pattern problem Pin
Dave Kreskowiak10-Feb-11 17:31
mveDave Kreskowiak10-Feb-11 17:31 
GeneralRe: Calling destructor in C# - observer pattern problem Pin
AspDotNetDev10-Feb-11 19:12
protectorAspDotNetDev10-Feb-11 19:12 
AnswerRe: Calling destructor in C# - observer pattern problem Pin
Henry Minute10-Feb-11 13:27
Henry Minute10-Feb-11 13:27 
AnswerRe: Calling destructor in C# - observer pattern problem Pin
AspDotNetDev10-Feb-11 13:58
protectorAspDotNetDev10-Feb-11 13:58 
AnswerRe: Calling destructor in C# - observer pattern problem Pin
DaveyM6910-Feb-11 21:28
professionalDaveyM6910-Feb-11 21:28 
QuestionCan you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 5:52
MacRaider410-Feb-11 5:52 
AnswerRe: Can you run the same function from two backgroundWorkers Pin
Ian Shlasko10-Feb-11 5:58
Ian Shlasko10-Feb-11 5:58 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 6:03
MacRaider410-Feb-11 6:03 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
Ian Shlasko10-Feb-11 6:15
Ian Shlasko10-Feb-11 6:15 
AnswerRe: Can you run the same function from two backgroundWorkers Pin
Luc Pattyn10-Feb-11 6:18
sitebuilderLuc Pattyn10-Feb-11 6:18 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
MacRaider410-Feb-11 6:38
MacRaider410-Feb-11 6:38 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
PIEBALDconsult10-Feb-11 6:45
mvePIEBALDconsult10-Feb-11 6:45 
AnswerRe: Can you run the same function from two backgroundWorkers Pin
Luc Pattyn10-Feb-11 6:46
sitebuilderLuc Pattyn10-Feb-11 6:46 
GeneralRe: Can you run the same function from two backgroundWorkers Pin
AspDotNetDev10-Feb-11 7:27
protectorAspDotNetDev10-Feb-11 7:27 

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.