Click here to Skip to main content
15,886,578 members
Home / Discussions / C#
   

C#

 
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 
Hi,

In my application I am very much using the System.string class for every manipulation of characters (Reading a lot of data from a XML file, writing a lot of data in a XML file and creating log for each operation). If my application needs to run for 24 hours, I know how inefficient it can be using System.string. Cry | :(( How can I replace System.string with StringBuilder? Like in System.Xml.XmlElement object, its inner member InnerText is itself a System.string object. Similarly in System.Xml.XmlNode object, its inner member InnerText is also a System.string object. So when too many classes of .net framework are using System.string type for their members (instead of StringBuilder), how can I replace System.string with StringBuilder?

I am not getting any clue to come out of this problem. Even if I use StringBuilder, too many .net classes do not accept it. Using System.string or StringBuilder.ToString() can make my application really inefficient. Please help me to know how to go about it? Also let me know when System.string get collected by Garbage Collector?

Thanks in Advance
Aseem
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 
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 
QuestionCan anybody help me in below code Pin
indian1435-Feb-10 13:15
indian1435-Feb-10 13:15 
AnswerRe: Can anybody help me in below code Pin
Abhinav S5-Feb-10 13:21
Abhinav S5-Feb-10 13:21 
GeneralRe: Can anybody help me in below code Pin
indian1435-Feb-10 13:35
indian1435-Feb-10 13:35 
AnswerRe: Can anybody help me in below code Pin
Jimmanuel5-Feb-10 14:42
Jimmanuel5-Feb-10 14:42 
AnswerRe: Can anybody help me in below code Pin
Not Active5-Feb-10 15:49
mentorNot Active5-Feb-10 15:49 
QuestionCreating a custom BindingNavigator which include a BindingSource Pin
ArjenGroeneveld5-Feb-10 11:07
ArjenGroeneveld5-Feb-10 11:07 
AnswerRe: Creating a custom BindingNavigator which include a BindingSource Pin
ArjenGroeneveld7-Feb-10 6:09
ArjenGroeneveld7-Feb-10 6:09 

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.