Click here to Skip to main content
15,918,742 members
Home / Discussions / C#
   

C#

 
GeneralRe: StreamReader/StreamWriter Pin
George_George26-May-08 16:07
George_George26-May-08 16:07 
GeneralRe: StreamReader/StreamWriter Pin
N a v a n e e t h26-May-08 16:53
N a v a n e e t h26-May-08 16:53 
GeneralRe: StreamReader/StreamWriter Pin
George_George28-May-08 0:38
George_George28-May-08 0:38 
GeneralRe: StreamReader/StreamWriter Pin
#realJSOP20-May-08 4:12
professional#realJSOP20-May-08 4:12 
GeneralRe: StreamReader/StreamWriter Pin
Vikram A Punathambekar20-May-08 4:37
Vikram A Punathambekar20-May-08 4:37 
GeneralRe: StreamReader/StreamWriter Pin
George_George20-May-08 23:51
George_George20-May-08 23:51 
GeneralRe: StreamReader/StreamWriter Pin
George_George20-May-08 23:50
George_George20-May-08 23:50 
GeneralRe: StreamReader/StreamWriter Pin
S. Senthil Kumar21-May-08 2:17
S. Senthil Kumar21-May-08 2:17 
John Simmons / outlaw programmer wrote:
automatic-ness of memory handling


Memory handling is automatic, but resource management (file/DB/Kernel objects etc..) is not (if you don't count finalization). The garbage collector will definitely run when the app is running out of memory, but it doesn't know about other resources. Which is why relying on finalization to clean them up is a bad idea - your app might run out of handles (for example) long before the GC decides to run.


John Simmons / outlaw programmer wrote:
Personally, I avoid "using" statements because I think they obfuscate the intent of code.


Really? How else do you close DB connections or file streams?

Regards
Senthil [MVP - Visual C#]
_____________________________
My Blog | My Articles | My Flickr | WinMacro

GeneralRe: StreamReader/StreamWriter Pin
#realJSOP21-May-08 23:51
professional#realJSOP21-May-08 23:51 
AnswerRe: StreamReader/StreamWriter Pin
Daniel Grunwald20-May-08 2:19
Daniel Grunwald20-May-08 2:19 
GeneralRe: StreamReader/StreamWriter Pin
George_George20-May-08 2:28
George_George20-May-08 2:28 
GeneralRe: StreamReader/StreamWriter Pin
Vikram A Punathambekar20-May-08 3:07
Vikram A Punathambekar20-May-08 3:07 
GeneralRe: StreamReader/StreamWriter Pin
George_George20-May-08 3:15
George_George20-May-08 3:15 
GeneralRe: StreamReader/StreamWriter Pin
Vikram A Punathambekar20-May-08 4:43
Vikram A Punathambekar20-May-08 4:43 
GeneralRe: StreamReader/StreamWriter Pin
George_George20-May-08 23:52
George_George20-May-08 23:52 
GeneralRe: StreamReader/StreamWriter Pin
N a v a n e e t h20-May-08 3:09
N a v a n e e t h20-May-08 3:09 
GeneralRe: StreamReader/StreamWriter Pin
George_George20-May-08 3:13
George_George20-May-08 3:13 
Questionhandling browser events from windows application Pin
mihir raut20-May-08 1:37
mihir raut20-May-08 1:37 
Questioncalling C++ method from C# .net? Pin
cristi_alonso20-May-08 1:36
cristi_alonso20-May-08 1:36 
AnswerRe: calling C++ method from C# .net? Pin
Laddie20-May-08 2:56
Laddie20-May-08 2:56 
GeneralRe: calling C++ method from C# .net? Pin
cristi_alonso20-May-08 18:03
cristi_alonso20-May-08 18:03 
QuestionProblem with CustomEventHandling. Pin
hdv21220-May-08 1:13
hdv21220-May-08 1:13 
AnswerRe: Problem with CustomEventHandling. Pin
buchstaben20-May-08 1:28
buchstaben20-May-08 1:28 
GeneralRe: Problem with CustomEventHandling. Pin
hdv21220-May-08 2:20
hdv21220-May-08 2:20 
Questionbrowser component Pin
asma_panjabi20-May-08 0:42
asma_panjabi20-May-08 0:42 

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.