331 reputation
123
bio website
location
age
visits member for 2 years, 9 months
seen Sep 8 at 19:13

Dec
13
awarded  Yearling
Dec
13
awarded  Great Answer
Dec
13
awarded  Good Answer
Dec
13
awarded  Teacher
Dec
13
awarded  Nice Answer
Dec
13
comment How assertive should I be in handling exceptions in objects?
No. The garbage collector works exactly the same way with a SqlConnection as it does with any other heap-allocated object. It will remove it from memory whether or not you call Dispose. Calling Dispose has absolutely zero effect on whether or not the garbage collector will remove your object from memory or when. The only difference is that if you call Dispose early, the other important non-memory resources will be cleaned up early.
Dec
13
answered How assertive should I be in handling exceptions in objects?
Feb
28
awarded  Mortarboard
Feb
28
answered Is writing comments inside methods not a good practice?