Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: Add to disable keyboard functions this project............ Pin
Luc Pattyn30-Jul-09 23:36
sitebuilderLuc Pattyn30-Jul-09 23:36 
GeneralRe: Add to disable keyboard functions this project............ Pin
Baeltazor31-Jul-09 7:17
Baeltazor31-Jul-09 7:17 
GeneralRe: Add to disable keyboard functions this project............ Pin
OriginalGriff31-Jul-09 8:12
mveOriginalGriff31-Jul-09 8:12 
GeneralRe: <blockquote class="FQ"><div class="FQA">OriginalGriff wrote:</div>Fraid so...Umpteen[^]</blockquote> Pin
Baeltazor31-Jul-09 10:01
Baeltazor31-Jul-09 10:01 
Questionusing statement Vs Dispose/Finalize pattern Pin
Cracked-Down30-Jul-09 21:28
Cracked-Down30-Jul-09 21:28 
AnswerRe: using statement Vs Dispose/Finalize pattern Pin
Christian Graus30-Jul-09 22:00
protectorChristian Graus30-Jul-09 22:00 
GeneralRe: using statement Vs Dispose/Finalize pattern Pin
N a v a n e e t h30-Jul-09 22:07
N a v a n e e t h30-Jul-09 22:07 
AnswerRe: using statement Vs Dispose/Finalize pattern Pin
N a v a n e e t h30-Jul-09 22:04
N a v a n e e t h30-Jul-09 22:04 
You can't compare using statement and dispose pattern. using is just a syntactic shortcut which helps to call Dispose method. There is no efficiency difference in calling Dispose directly or wrapping in a using block.

Leaving disposable objects to finalization is inefficient. If the type can be disposed, you should take care about calling dispose on it once you done with the object.

It looks like you are confused with managing life time of objects.

Smile | :)


GeneralRe: using statement Vs Dispose/Finalize pattern Pin
Cracked-Down30-Jul-09 22:59
Cracked-Down30-Jul-09 22:59 
GeneralRe: using statement Vs Dispose/Finalize pattern Pin
Not Active30-Jul-09 23:46
mentorNot Active30-Jul-09 23:46 
GeneralRe: using statement Vs Dispose/Finalize pattern Pin
Cracked-Down30-Jul-09 23:58
Cracked-Down30-Jul-09 23:58 
GeneralRe: using statement Vs Dispose/Finalize pattern Pin
PIEBALDconsult31-Jul-09 4:58
mvePIEBALDconsult31-Jul-09 4:58 
GeneralRe: using statement Vs Dispose/Finalize pattern Pin
N a v a n e e t h31-Jul-09 7:02
N a v a n e e t h31-Jul-09 7:02 
GeneralRe: using statement Vs Dispose/Finalize pattern Pin
Cracked-Down31-Jul-09 19:46
Cracked-Down31-Jul-09 19:46 
QuestionHow to have more than one key and one value in any structure(like hash table) in C#? Pin
akashsthakkar30-Jul-09 20:46
akashsthakkar30-Jul-09 20:46 
AnswerRe: How to have more than one key and one value in any structure(like hash table) in C#? [modified] Pin
dan!sh 30-Jul-09 20:50
professional dan!sh 30-Jul-09 20:50 
AnswerRe: How to have more than one key and one value in any structure(like hash table) in C#? Pin
PIEBALDconsult30-Jul-09 20:59
mvePIEBALDconsult30-Jul-09 20:59 
AnswerRe: How to have more than one key and one value in any structure(like hash table) in C#? Pin
N a v a n e e t h30-Jul-09 22:10
N a v a n e e t h30-Jul-09 22:10 
AnswerRe: How to have more than one key and one value in any structure(like hash table) in C#? Pin
Mirko198030-Jul-09 22:14
Mirko198030-Jul-09 22:14 
QuestionGetting a program to open, search for a line of code, and edit it. Pin
craigchrist823930-Jul-09 20:32
craigchrist823930-Jul-09 20:32 
AnswerRe: Getting a program to open, search for a line of code, and edit it. Pin
dan!sh 30-Jul-09 21:00
professional dan!sh 30-Jul-09 21:00 
GeneralRe: Getting a program to open, search for a line of code, and edit it. Pin
craigchrist823930-Jul-09 21:12
craigchrist823930-Jul-09 21:12 
GeneralRe: Getting a program to open, search for a line of code, and edit it. Pin
dan!sh 30-Jul-09 21:21
professional dan!sh 30-Jul-09 21:21 
Questionhow to get the directory path when copy, past ( windows explorer) Pin
xinmoigocua30-Jul-09 19:57
xinmoigocua30-Jul-09 19:57 
AnswerRe: how to get the directory path when copy, past ( windows explorer) Pin
stancrm30-Jul-09 20:25
stancrm30-Jul-09 20:25 

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.