Click here to Skip to main content
14,367,300 members
   

C#

 
GeneralRe: Divergences with co workers about IDisposable Pin
0x01AA19-Sep-19 6:16
professional0x01AA19-Sep-19 6:16 
GeneralRe: Divergences with co workers about IDisposable Pin
Richard Deeming19-Sep-19 6:28
mveRichard Deeming19-Sep-19 6:28 
GeneralRe: Divergences with co workers about IDisposable Pin
0x01AA19-Sep-19 6:36
professional0x01AA19-Sep-19 6:36 
GeneralRe: Divergences with co workers about IDisposable Pin
Gerry Schmitz19-Sep-19 10:58
mveGerry Schmitz19-Sep-19 10:58 
GeneralRe: Divergences with co workers about IDisposable Pin
0x01AA19-Sep-19 11:03
professional0x01AA19-Sep-19 11:03 
GeneralRe: Divergences with co workers about IDisposable Pin
Gerry Schmitz19-Sep-19 13:36
mveGerry Schmitz19-Sep-19 13:36 
GeneralRe: Divergences with co workers about IDisposable Pin
0x01AA20-Sep-19 9:11
professional0x01AA20-Sep-19 9:11 
SuggestionRe: Divergences with co workers about IDisposable Pin
Maciej Los19-Sep-19 21:51
protectorMaciej Los19-Sep-19 21: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
0x01AA20-Sep-19 6:37
professional0x01AA20-Sep-19 6:37 
AnswerRe: Divergences with co workers about IDisposable Pin
#realJSOP22-Sep-19 4:28
mve#realJSOP22-Sep-19 4:28 
QuestionHow to connect to a remote windows service Pin
Mahmoud EL-Shazly18-Sep-19 21:51
memberMahmoud EL-Shazly18-Sep-19 21:51 
AnswerRe: How to connect to a remote windows service Pin
F-ES Sitecore19-Sep-19 1:20
mveF-ES Sitecore19-Sep-19 1:20 
AnswerRe: How to connect to a remote windows service Pin
Afzaal Ahmad Zeeshan19-Sep-19 3:08
mveAfzaal Ahmad Zeeshan19-Sep-19 3:08 
GeneralRe: How to connect to a remote windows service Pin
Mahmoud EL-Shazly19-Sep-19 6:22
memberMahmoud EL-Shazly19-Sep-19 6:22 
GeneralRe: How to connect to a remote windows service Pin
Afzaal Ahmad Zeeshan19-Sep-19 7:34
mveAfzaal Ahmad Zeeshan19-Sep-19 7:34 
QuestionC# Insert TextBox Text into MS Database Pin
DreyerVorster18-Sep-19 11:20
memberDreyerVorster18-Sep-19 11:20 
AnswerRe: C# Insert TextBox Text into MS Database Pin
Mycroft Holmes18-Sep-19 13:37
memberMycroft Holmes18-Sep-19 13:37 
GeneralRe: C# Insert TextBox Text into MS Database Pin
DreyerVorster18-Sep-19 20:27
memberDreyerVorster18-Sep-19 20:27 
AnswerRe: C# Insert TextBox Text into MS Database Pin
jkirkerx18-Sep-19 13:51
professionaljkirkerx18-Sep-19 13:51 
AnswerRe: C# Insert TextBox Text into MS Database Pin
Gerry Schmitz19-Sep-19 1:38
mveGerry Schmitz19-Sep-19 1:38 
QuestionHighest Number of a folder Pin
Member 1398003216-Sep-19 21:07
memberMember 1398003216-Sep-19 21:07 
AnswerRe: Highest Number of a folder Pin
OriginalGriff16-Sep-19 21:37
protectorOriginalGriff16-Sep-19 21:37 
GeneralRe: Highest Number of a folder Pin
Member 1398003216-Sep-19 22:46
memberMember 1398003216-Sep-19 22:46 
GeneralRe: Highest Number of a folder Pin
OriginalGriff16-Sep-19 22:59
protectorOriginalGriff16-Sep-19 22:59 
GeneralRe: Highest Number of a folder Pin
Member 1398003216-Sep-19 23:05
memberMember 1398003216-Sep-19 23:05 

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.