Click here to Skip to main content
15,892,674 members
Home / Discussions / C#
   

C#

 
AnswerRe: function c# Pin
loyal ginger6-Feb-10 2:52
loyal ginger6-Feb-10 2:52 
GeneralRe: function c# Pin
OriginalGriff6-Feb-10 3:47
mveOriginalGriff6-Feb-10 3:47 
GeneralRe: function c# Pin
loyal ginger6-Feb-10 9:58
loyal ginger6-Feb-10 9:58 
QuestionDo I need to Stop investing on C# just because F# is there ? Pin
Nadia Monalisa5-Feb-10 22:48
Nadia Monalisa5-Feb-10 22:48 
AnswerRe: Do I need to Stop investing on C# just because F# is there ? Pin
Eddy Vluggen5-Feb-10 23:16
professionalEddy Vluggen5-Feb-10 23:16 
AnswerRe: Do I need to Stop investing on C# just because F# is there ? Pin
Md. Marufuzzaman6-Feb-10 1:04
professionalMd. Marufuzzaman6-Feb-10 1:04 
AnswerRe: Do I need to Stop investing on C# just because F# is there ? Pin
darkelv6-Feb-10 3:46
darkelv6-Feb-10 3:46 
AnswerRe: Do I need to Stop investing on C# just because F# is there ? Pin
Dave Doknjas6-Feb-10 12:58
Dave Doknjas6-Feb-10 12:58 
Questionclose all opened windows Pin
MathewPV5-Feb-10 21:44
MathewPV5-Feb-10 21:44 
AnswerRe: close all opened windows Pin
OriginalGriff5-Feb-10 22:34
mveOriginalGriff5-Feb-10 22:34 
AnswerRe: close all opened windows Pin
Luc Pattyn6-Feb-10 1:54
sitebuilderLuc Pattyn6-Feb-10 1:54 
GeneralRe: close all opened windows Pin
MathewPV7-Feb-10 16:47
MathewPV7-Feb-10 16:47 
AnswerRe: close all opened windows Pin
Luc Pattyn7-Feb-10 16:51
sitebuilderLuc Pattyn7-Feb-10 16:51 
AnswerRe: close all opened windows Pin
Member 43497939-Feb-10 23:50
Member 43497939-Feb-10 23:50 
QuestionHow to replace string with StringBuilder Pin
Aseem Sharma5-Feb-10 20:58
Aseem Sharma5-Feb-10 20:58 
AnswerRe: How to replace string with StringBuilder Pin
Chetan Patel5-Feb-10 21:54
Chetan Patel5-Feb-10 21:54 
GeneralRe: How to replace string with StringBuilder Pin
Aseem Sharma5-Feb-10 23:59
Aseem Sharma5-Feb-10 23:59 
AnswerRe: How to replace string with StringBuilder Pin
OriginalGriff5-Feb-10 21:59
mveOriginalGriff5-Feb-10 21:59 
StringBuilder is only going to be more efficient than a string if:
1) It never gets extended - each time it does, it gets re-allocated, just like a string.
2) If your code repeatedly changes the string content.
If you are allocating strings and keeping them allocated, then replacing them with StringBuilder (which you can't do for System.Xml objects) will not make any real improvement unless you overwrite the StringBuilder content.
How are you allocating / using the strings?
If you app is running for 24 hours, what happens?
Strings are collected by the GC when it feels like it (i.e. when it needs to make some space for a new allocation), but will only be collected when there are no further references to them.
If Barbie is so popular, why do you have to buy her friends?

Eagles may soar, but weasels don't get sucked into jet engines.

If at first you don't succeed, destroy all evidence that you tried.

GeneralRe: How to replace string with StringBuilder Pin
Aseem Sharma6-Feb-10 0:01
Aseem Sharma6-Feb-10 0:01 
GeneralRe: How to replace string with StringBuilder Pin
OriginalGriff6-Feb-10 0:11
mveOriginalGriff6-Feb-10 0:11 
AnswerRe: How to replace string with StringBuilder Pin
Rob Philpott5-Feb-10 22:02
Rob Philpott5-Feb-10 22:02 
AnswerRe: How to replace string with StringBuilder Pin
#realJSOP5-Feb-10 22:05
mve#realJSOP5-Feb-10 22:05 
QuestionHow to populate textbox by database Pin
scottichrosaviakosmos5-Feb-10 20:00
scottichrosaviakosmos5-Feb-10 20:00 
AnswerRe: How to populate textbox by database Pin
Chetan Patel5-Feb-10 21:59
Chetan Patel5-Feb-10 21:59 
GeneralRe: How to populate textbox by database Pin
Md. Marufuzzaman6-Feb-10 1:14
professionalMd. Marufuzzaman6-Feb-10 1:14 

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.