Click here to Skip to main content
14,983,711 members
Home / Discussions / C#
   

C#

 
GeneralRe: Instantiating a static class at application start? Pin
PIEBALDconsult1-Aug-08 3:19
professionalPIEBALDconsult1-Aug-08 3:19 
AnswerRe: Instantiating a static class at application start? Pin
PIEBALDconsult1-Aug-08 5:13
professionalPIEBALDconsult1-Aug-08 5:13 
QuestionDisappearing expand indicators on PropertyGrid Pin
rbuchana31-Jul-08 6:00
Memberrbuchana31-Jul-08 6:00 
AnswerRe: Disappearing expand indicators on PropertyGrid Pin
Thomas Stockwell31-Jul-08 6:31
professionalThomas Stockwell31-Jul-08 6:31 
GeneralRe: Disappearing expand indicators on PropertyGrid [modified] Pin
rbuchana31-Jul-08 6:41
Memberrbuchana31-Jul-08 6:41 
GeneralRe: Disappearing expand indicators on PropertyGrid Pin
Thomas Stockwell31-Jul-08 6:48
professionalThomas Stockwell31-Jul-08 6:48 
GeneralRe: Disappearing expand indicators on PropertyGrid Pin
rbuchana31-Jul-08 7:15
Memberrbuchana31-Jul-08 7:15 
QuestionDo I need to check this.Disposed inside my get/set for properties, too? Pin
JoeRip31-Jul-08 5:07
MemberJoeRip31-Jul-08 5:07 
Peer pressure from this group has forced me to implement IDisposable on my class. OMG | :OMG:

My reading of the Dispose() documentation tells me that I should:
1. call Dispose() from my destructor
2. keep a private field (this.disposed), and set it at the end of my Dispose() method
3. "test this.disposed in all of your class' regular methods, and throw an exception if the object is already disposed." (emphasis mine)

Does this mean I also need to test this.disposed in the get/set clauses of my properties?

Or just in my "regular methods"?
GeneralRe: Do I need to check this.Disposed inside my get/set for properties, too? Pin
Simon P Stevens31-Jul-08 22:03
MemberSimon P Stevens31-Jul-08 22:03 
AnswerRe: Do I need to check this.Disposed inside my get/set for properties, too? Pin
PIEBALDconsult1-Aug-08 6:09
professionalPIEBALDconsult1-Aug-08 6:09 
AnswerRe: Do I need to check this.Disposed inside my get/set for properties, too? Pin
Scott Dorman2-Aug-08 15:16
professionalScott Dorman2-Aug-08 15:16 
QuestionCadLib for creating DXF(Drawing Interchange Format) files in C# Pin
Muralikumar7631-Jul-08 4:46
MemberMuralikumar7631-Jul-08 4:46 
AnswerRe: CadLib for creating DXF(Drawing Interchange Format) files in C# Pin
Simon P Stevens31-Jul-08 4:55
MemberSimon P Stevens31-Jul-08 4:55 
GeneralRe: CadLib for creating DXF(Drawing Interchange Format) files in C# Pin
Muralikumar7631-Jul-08 21:04
MemberMuralikumar7631-Jul-08 21:04 
GeneralRe: CadLib for creating DXF(Drawing Interchange Format) files in C# Pin
Simon P Stevens1-Aug-08 2:21
MemberSimon P Stevens1-Aug-08 2:21 
QuestionAlternating Row colors in a VS 2008 .rdlc table Pin
AeonBlue31-Jul-08 3:57
MemberAeonBlue31-Jul-08 3:57 
AnswerRe: Alternating Row colors in a VS 2008 .rdlc table Pin
AeonBlue4-Aug-08 9:10
MemberAeonBlue4-Aug-08 9:10 
Questioncoding for a login class in C# Pin
halalalal31-Jul-08 3:15
Memberhalalalal31-Jul-08 3:15 
AnswerRe: coding for a login class in C# Pin
Eduard Keilholz31-Jul-08 3:19
MemberEduard Keilholz31-Jul-08 3:19 
AnswerRe: coding for a login class in C# Pin
Vimalsoft(Pty) Ltd31-Jul-08 4:21
professionalVimalsoft(Pty) Ltd31-Jul-08 4:21 
QuestionGet mimetype of a file Pin
katze031-Jul-08 3:09
Memberkatze031-Jul-08 3:09 
AnswerRe: Get mimetype of a file Pin
#realJSOP31-Jul-08 3:56
mva#realJSOP31-Jul-08 3:56 
AnswerRe: Get mimetype of a file Pin
User 665831-Jul-08 4:04
MemberUser 665831-Jul-08 4:04 
GeneralRe: Get mimetype of a file Pin
katze031-Jul-08 9:20
Memberkatze031-Jul-08 9:20 
GeneralRe: Get mimetype of a file Pin
User 665831-Jul-08 11:09
MemberUser 665831-Jul-08 11:09 

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.