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

C#

 
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 
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 
It's kind of an extra check. The world isn't going to end if you don't do the check, but it might add an extra bit of insurance that things aren't going wrong.

You should never access a disposed object, it can cause all kinds of problems. The check is only there to ensure that you don't. Personally, I do the check in _public_ methods, but tend not to bother in properties. Although technically you probably should.

I'd be interested in other people's opinions on this though.

Simon

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 
GeneralRe: Get mimetype of a file Pin
katze04-Aug-08 9:22
Memberkatze04-Aug-08 9:22 

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.