Click here to Skip to main content
15,921,793 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionHow to get control when the property WindowState of form is changed? Pin
inside121-Nov-01 14:23
inside121-Nov-01 14:23 
GeneralNeed some big-time help Pin
20-Nov-01 15:36
suss20-Nov-01 15:36 
GeneralAbout SOAP Toolkit 2.0 High level API Pin
chenzhu19-Nov-01 15:20
chenzhu19-Nov-01 15:20 
GeneralConvince Me... Pin
bburton19-Nov-01 1:22
bburton19-Nov-01 1:22 
GeneralRe: Convince Me... Pin
l a u r e n19-Nov-01 1:38
l a u r e n19-Nov-01 1:38 
GeneralRe: Convince Me... Pin
Paul Watson22-Nov-01 7:46
sitebuilderPaul Watson22-Nov-01 7:46 
GeneralServer Error in '/lab1' Application... Pin
Orkun GEDiK17-Nov-01 11:43
Orkun GEDiK17-Nov-01 11:43 
GeneralDispose() design pattern is complicated Pin
Mike Morearty16-Nov-01 19:13
Mike Morearty16-Nov-01 19:13 
I find that the design pattern for Dispose() is quite tricky, and I think many programmers are going to get it wrong. (For details, look for an article entitled "Implementing a Dispose Method" in the .NET docs.)

This is a real shame, because in so many ways C# and .NET take common but complicated programming tasks and make them really straightforward (and, in fact, pretty hard to mess up). But in the case of implementing Dispose() in your own classes, C#/.NET actually make it pretty hard to get it right.

I do understand the suggested implementation, and I understand the reasons for the different pieces of it. And, no, I don't have any brilliant suggestions for how to make it better; that would take more thinking than I want to put into it at the moment. All I'm saying is, I wish they had come up with a better, cleaner way to do it -- e.g. some language feature built into C# and VB.NET etc. which made it really easy to "get it right."

Mike Morearty
mike@morearty.com
http://www.morearty.com
General:confused: VS:NET CR crashes my Beta1-Webprojects Pin
Carolina15-Nov-01 3:19
Carolina15-Nov-01 3:19 
GeneralVS.NET Beta 2 -> RC1 Resource problems Pin
Bret Faller14-Nov-01 10:04
Bret Faller14-Nov-01 10:04 
GeneralApp Deployment With .NET Pin
Paul Watson13-Nov-01 23:59
sitebuilderPaul Watson13-Nov-01 23:59 
QuestionHow can I draw in inverted color with GDI+? Pin
9-Nov-01 6:11
suss9-Nov-01 6:11 
Generalproblem registering class Pin
dsdsds9-Nov-01 4:16
dsdsds9-Nov-01 4:16 
QuestionVisual J# NET Beta 1? Pin
Glenn Dawson8-Nov-01 11:21
Glenn Dawson8-Nov-01 11:21 
AnswerRe: Visual J# NET Beta 1? Pin
Fazlul Kabir8-Nov-01 11:25
Fazlul Kabir8-Nov-01 11:25 
General.NET is crap Pin
TBiker8-Nov-01 10:01
TBiker8-Nov-01 10:01 
GeneralRe: .NET is crap Pin
Chris Losinger8-Nov-01 10:09
professionalChris Losinger8-Nov-01 10:09 
GeneralRe: .NET is crap Pin
TBiker8-Nov-01 10:18
TBiker8-Nov-01 10:18 
GeneralRe: .NET is crap Pin
Tim Smith8-Nov-01 10:21
Tim Smith8-Nov-01 10:21 
GeneralRe: .NET is crap Pin
Chris Losinger8-Nov-01 10:23
professionalChris Losinger8-Nov-01 10:23 
GeneralRe: .NET is crap Pin
Hadi Rezaee19-Nov-01 8:09
Hadi Rezaee19-Nov-01 8:09 
GeneralRe: .NET is crap Pin
cdehelean17-Nov-01 6:19
cdehelean17-Nov-01 6:19 
GeneralRe: .NET is crap Pin
Christian Graus8-Nov-01 10:48
protectorChristian Graus8-Nov-01 10:48 
GeneralRe: .NET is crap Pin
TBiker8-Nov-01 10:56
TBiker8-Nov-01 10:56 
GeneralRe: .NET is crap Pin
Christian Graus8-Nov-01 11:02
protectorChristian Graus8-Nov-01 11:02 

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.