Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
QuestionIDisposable spread Pin
Orjan Westin13-Feb-13 2:45
professionalOrjan Westin13-Feb-13 2:45 
AnswerRe: IDisposable spread Pin
DaveyM6913-Feb-13 4:52
professionalDaveyM6913-Feb-13 4:52 
Any classes derived from a disposable class are already disposable so there is no need to override Dispose(bool) unless it holds additional resources, in which case it should override, free the additional resources then call base.Dispose(disposing).

Any wrapper classes that wrap a disposable class should be disposable so they can dispose the wrapped object properly.
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



AnswerRe: IDisposable spread Pin
Keith Barrow13-Feb-13 5:13
professionalKeith Barrow13-Feb-13 5:13 
GeneralRe: IDisposable spread Pin
PIEBALDconsult13-Feb-13 17:46
mvePIEBALDconsult13-Feb-13 17:46 
GeneralRe: IDisposable spread Pin
N a v a n e e t h13-Feb-13 18:59
N a v a n e e t h13-Feb-13 18:59 
GeneralRe: IDisposable spread Pin
Orjan Westin13-Feb-13 22:33
professionalOrjan Westin13-Feb-13 22:33 
AnswerRe: IDisposable spread Pin
N a v a n e e t h13-Feb-13 18:56
N a v a n e e t h13-Feb-13 18:56 
AnswerRe: IDisposable spread Pin
BobJanova13-Feb-13 23:54
BobJanova13-Feb-13 23:54 
Questionpropertygrid double click events Pin
Jone Cunha13-Feb-13 0:56
professionalJone Cunha13-Feb-13 0:56 
AnswerRe: propertygrid double click events Pin
Richard MacCutchan13-Feb-13 1:14
mveRichard MacCutchan13-Feb-13 1:14 
GeneralRe: propertygrid double click events Pin
Jone Cunha13-Feb-13 1:24
professionalJone Cunha13-Feb-13 1:24 
GeneralRe: propertygrid double click events Pin
Richard MacCutchan13-Feb-13 1:44
mveRichard MacCutchan13-Feb-13 1:44 
GeneralRe: propertygrid double click events Pin
Jone Cunha13-Feb-13 1:53
professionalJone Cunha13-Feb-13 1:53 
GeneralRe: propertygrid double click events Pin
Richard MacCutchan13-Feb-13 3:16
mveRichard MacCutchan13-Feb-13 3:16 
GeneralRe: propertygrid double click events Pin
Jone Cunha13-Feb-13 4:45
professionalJone Cunha13-Feb-13 4:45 
GeneralRe: propertygrid double click events Pin
Richard MacCutchan13-Feb-13 5:38
mveRichard MacCutchan13-Feb-13 5:38 
GeneralRe: propertygrid double click events Pin
Jone Cunha13-Feb-13 7:32
professionalJone Cunha13-Feb-13 7:32 
QuestionEnevts in MVC application. Need some Help. Pin
plywoods12-Feb-13 21:09
plywoods12-Feb-13 21:09 
QuestionHow to determine whether the given geo code in within geo fence or not? Pin
Vijay Kanda12-Feb-13 20:57
Vijay Kanda12-Feb-13 20:57 
AnswerRe: How to determine whether the given geo code in within geo fence or not? Pin
Pete O'Hanlon12-Feb-13 23:13
mvePete O'Hanlon12-Feb-13 23:13 
Questioncalling a method in c++ from c# Pin
bonosa12-Feb-13 17:45
bonosa12-Feb-13 17:45 
AnswerRe: calling a method in c++ from c# Pin
N a v a n e e t h12-Feb-13 22:19
N a v a n e e t h12-Feb-13 22:19 
GeneralRe: calling a method in c++ from c# Pin
bonosa13-Feb-13 3:55
bonosa13-Feb-13 3:55 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h13-Feb-13 18:21
N a v a n e e t h13-Feb-13 18:21 
GeneralRe: calling a method in c++ from c# Pin
bonosa14-Feb-13 16:56
bonosa14-Feb-13 16:56 

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.