-
as seen on Stack Overflow
- Search for 'Stack Overflow'
i am using C# and its a web app so i cant use saveasDialog
i have a stringbuilder called builder and i would like to say the contents to a file in a specific location
i would also like the name to be dynamic am using this
FileInfo t = new FileInfo(@"C:\DocUpload\swDoc\" + lbfilename…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am reading a csv file that has about has about 50,000 lines and 1.1MiB in size (and can grow larger).
In Code1, I use String to process the csv, while in Code2 I use StringBuilder (only one thread executes the code, so no concurrency issues)
Using StringBuilder makes the code a little bit harder…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hi,
i have been trying to create controls dynamically on my web page using the StringBuilder class..and i dont quite seem to get through...
any help would be appreciated.
i am trying to do this...
StringBuilder sbTest = new StringBuilder(string.Empty);
sbTest.Append("<input type=\"text\" id=\"txt1\"…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to squeeze as much performance as i can from a custom HttpHandler that serves Xml content.
I' m wondering which is better for performance. Using the XmlTextWriter class or ad-hoc StringBuilder operations like:
StringBuilder sb = new StringBuilder("<?xml version="1.0" encoding="UTF-8"…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What is better to use for Exception output message dynamic generation String or StringBuilder or StringBuffer?
>>> More