Click here to Skip to main content
15,881,172 members
Home / Discussions / C#
   

C#

 
QuestionApp.config or Resources.resx Pin
Vandretta12-Dec-08 0:28
Vandretta12-Dec-08 0:28 
AnswerRe: App.config or Resources.resx Pin
Lev Danielyan12-Dec-08 0:36
Lev Danielyan12-Dec-08 0:36 
GeneralRe: App.config or Resources.resx Pin
Vandretta12-Dec-08 0:38
Vandretta12-Dec-08 0:38 
GeneralRe: App.config or Resources.resx Pin
Simon P Stevens12-Dec-08 0:43
Simon P Stevens12-Dec-08 0:43 
GeneralRe: App.config or Resources.resx Pin
Lev Danielyan12-Dec-08 1:08
Lev Danielyan12-Dec-08 1:08 
QuestionDispsose() or Close() Pin
TJS4u12-Dec-08 0:08
TJS4u12-Dec-08 0:08 
AnswerRe: Dispsose() or Close() Pin
Simon P Stevens12-Dec-08 0:20
Simon P Stevens12-Dec-08 0:20 
AnswerRe: Dispsose() or Close() Pin
Lev Danielyan12-Dec-08 0:24
Lev Danielyan12-Dec-08 0:24 
Close() might eventually call Dispose(), actually depends on the class implementation, whereas Dispose must be defined if IDisposable is implemented for resource cleanup

Use using clause;

using(resource) {

}

This will automatically dispose your resource (say a stream), if it implements IDisposable interface

Regards,
Lev

AnswerRe: Dispsose() or Close() Pin
Expert Coming12-Dec-08 0:55
Expert Coming12-Dec-08 0:55 
AnswerRe: Dispsose() or Close() Pin
Giorgi Dalakishvili12-Dec-08 1:34
mentorGiorgi Dalakishvili12-Dec-08 1:34 
AnswerRe: Dispsose() or Close() Pin
carbon_golem12-Dec-08 2:49
carbon_golem12-Dec-08 2:49 
QuestionWinFrom help.... Pin
hotthoughtguy11-Dec-08 23:43
hotthoughtguy11-Dec-08 23:43 
AnswerRe: WinFrom help.... Pin
Christian Graus11-Dec-08 23:44
protectorChristian Graus11-Dec-08 23:44 
GeneralRe: WinFrom help.... Pin
hotthoughtguy11-Dec-08 23:49
hotthoughtguy11-Dec-08 23:49 
GeneralRe: WinFrom help.... Pin
Lev Danielyan11-Dec-08 23:57
Lev Danielyan11-Dec-08 23:57 
GeneralRe: WinFrom help.... Pin
Tom Deketelaere11-Dec-08 23:53
professionalTom Deketelaere11-Dec-08 23:53 
GeneralRe: WinFrom help.... Pin
Lev Danielyan11-Dec-08 23:54
Lev Danielyan11-Dec-08 23:54 
GeneralRe: WinFrom help.... Pin
hotthoughtguy12-Dec-08 2:40
hotthoughtguy12-Dec-08 2:40 
GeneralRe: WinFrom help.... Pin
Lev Danielyan12-Dec-08 2:58
Lev Danielyan12-Dec-08 2:58 
GeneralRe: WinFrom help.... Pin
#realJSOP12-Dec-08 0:01
mve#realJSOP12-Dec-08 0:01 
GeneralRe: WinFrom help.... Pin
hotthoughtguy12-Dec-08 2:53
hotthoughtguy12-Dec-08 2:53 
AnswerRe: WinFrom help.... Pin
DaveyM6912-Dec-08 4:56
professionalDaveyM6912-Dec-08 4:56 
QuestionHow to convert ArrayList into String Array ? Pin
Ravi Munde11-Dec-08 23:40
Ravi Munde11-Dec-08 23:40 
AnswerRe: How to convert ArrayList into String Array ? Pin
Christian Graus11-Dec-08 23:46
protectorChristian Graus11-Dec-08 23:46 
GeneralRe: How to convert ArrayList into String Array ? Pin
Luc Pattyn11-Dec-08 23:47
sitebuilderLuc Pattyn11-Dec-08 23:47 

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.