Click here to Skip to main content
15,904,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to show UserControl(WPF) in a form project with not use ElementHost? Pin
Dave Kreskowiak22-Sep-19 16:55
mveDave Kreskowiak22-Sep-19 16:55 
PraiseRe: How to show UserControl(WPF) in a form project with not use ElementHost? Pin
Member 1308136925-Sep-19 13:43
Member 1308136925-Sep-19 13:43 
AnswerRe: How to show UserControl(WPF) in a form project with not use ElementHost? Pin
Gerry Schmitz24-Sep-19 7:27
mveGerry Schmitz24-Sep-19 7:27 
PraiseRe: How to show UserControl(WPF) in a form project with not use ElementHost? Pin
Member 1308136925-Sep-19 13:46
Member 1308136925-Sep-19 13:46 
QuestionCalling a dll file inside a Windows Service Pin
ArashFarmagham20-Sep-19 10:36
ArashFarmagham20-Sep-19 10:36 
AnswerRe: Calling a dll file inside a Windows Service Pin
Luc Pattyn20-Sep-19 13:02
sitebuilderLuc Pattyn20-Sep-19 13:02 
GeneralRe: Calling a dll file inside a Windows Service Pin
ArashFarmagham23-Sep-19 6:39
ArashFarmagham23-Sep-19 6:39 
GeneralRe: Calling a dll file inside a Windows Service Pin
Luc Pattyn23-Sep-19 7:07
sitebuilderLuc Pattyn23-Sep-19 7:07 
AnswerRe: Calling a dll file inside a Windows Service Pin
Dave Kreskowiak20-Sep-19 13:11
mveDave Kreskowiak20-Sep-19 13:11 
AnswerRe: Calling a dll file inside a Windows Service Pin
Shameel24-Sep-19 1:01
professionalShameel24-Sep-19 1:01 
AnswerRe: Calling a dll file inside a Windows Service Pin
Gerry Schmitz24-Sep-19 7:53
mveGerry Schmitz24-Sep-19 7:53 
QuestionDivergences with co workers about IDisposable Pin
User 1106097919-Sep-19 4:16
User 1106097919-Sep-19 4:16 
AnswerRe: Divergences with co workers about IDisposable PinPopular
Richard Deeming19-Sep-19 4:27
mveRichard Deeming19-Sep-19 4:27 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097919-Sep-19 4:32
User 1106097919-Sep-19 4:32 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097919-Sep-19 5:16
User 1106097919-Sep-19 5:16 
GeneralRe: Divergences with co workers about IDisposable Pin
Richard Deeming19-Sep-19 5:28
mveRichard Deeming19-Sep-19 5:28 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097919-Sep-19 5:36
User 1106097919-Sep-19 5:36 
GeneralRe: Divergences with co workers about IDisposable Pin
Gerry Schmitz19-Sep-19 9:58
mveGerry Schmitz19-Sep-19 9:58 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097919-Sep-19 10:03
User 1106097919-Sep-19 10:03 
GeneralRe: Divergences with co workers about IDisposable Pin
Gerry Schmitz19-Sep-19 12:36
mveGerry Schmitz19-Sep-19 12:36 
GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097920-Sep-19 8:11
User 1106097920-Sep-19 8:11 
SuggestionRe: Divergences with co workers about IDisposable Pin
Maciej Los19-Sep-19 20:51
mveMaciej Los19-Sep-19 20:51 
I'm lazy, so... Please, read this very interesting CP article: Implementing IDisposable and the Dispose Pattern Properly

There you'll find final conclusion:
Quote:
As you can see, there are a lot of details involved in properly implementing IDisposable and the Dispose Pattern. However, by following the proper template and rules, you can ensure that your disposable objects are handled correctly and behave as first-class citizens in the garbage collection process.


But Eric Lippert in this article: When everything you know is wrong, part one | Fabulous adventures in coding has got another one:
Quote:
I’ve written a lot about the perils of C# finalizers / destructors (either name is fine) over the years...

... here are a bunch of things that many people believe about finalizers, all of which are wrong.

...

All of the myths so far imply that if you have code that absolutely, positively must run because it has some important real-world impact then a finalizer is not your best choice. Finalizers are not guaranteed to run.

GeneralRe: Divergences with co workers about IDisposable Pin
User 1106097920-Sep-19 5:37
User 1106097920-Sep-19 5:37 
AnswerRe: Divergences with co workers about IDisposable Pin
#realJSOP22-Sep-19 3:28
professional#realJSOP22-Sep-19 3:28 
QuestionHow to connect to a remote windows service Pin
Mahmoud EL-Shazly18-Sep-19 20:51
Mahmoud EL-Shazly18-Sep-19 20: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.