stringbuilder
Fastest way to pad a number in Java to a certain number of digits
Am trying to create a well-optimised bit of code to create number of X-digits in length (where X is read from a runtime properties file), based on a DB-generated sequence number (Y), which is then use[详细]
2023-01-02 19:02 分类:问答String, StringBuffer, and StringBuilder
Please tell me a real time situa开发者_高级运维tion to compare String, StringBuffer, and StringBuilder?Mutability Difference:[详细]
2023-01-02 18:48 分类:问答Is there a faster method then StringBuilder for a max 9-10 step string concatenation?
I have this code to concate some array elements: StringBuilder sb = new StringBuilder(); private RatedMessage joinMessage(int step, boolean isresult) {[详细]
2023-01-01 13:39 分类:问答Managing StringBuilder Resources
My C# (.NET 2.0) application has a StringBuilder variable with a capacity of 2.5MB.Obviously, I do not want to copy such a large buffer to a larger buffer space every time it fills.By that point, ther[详细]
2022-12-31 07:47 分类:问答P/Invoke a Function Passed a StringBuilder
in a C# file i have a class Archiver { [DllImport(\"Archiver.dll\")] public static extern void archive(string data, StringBuilder response);[详细]
2022-12-30 23:51 分类:问答What is the appropriate way to set a VB StringBuilder to an empty string?
I\'m using VB\'s StringBuilder, and I was curious what is considered \"best practice\" for emptying the builder/setting it to a new string. Would it be something like this:[详细]
2022-12-30 16:58 分类:问答Tool to detect use/abuse of String.Concat (where StringBuilder should be used)
It\'s common knowledge that you shouldn\'t use a StringBuilder in place of a small number of concatenations:[详细]
2022-12-30 00:06 分类:问答SQL DataReader how to show null-values from query
I have a DataReader and a StringBuilder (C#.NET) used in the following way; while (reader.Read()) { sb.AppendFormat(\"{0},{1},{2},\",reader[开发者_StackOverflow中文版\"Col1\"], reader[\"Col2\"], read[详细]
2022-12-29 10:57 分类:问答How to maxmise the largest contiguous block of memory in the Large Object Heap
The situation is that I am making a WCF call to a remote server which is returns an XML document as a string.[详细]
2022-12-27 23:49 分类:问答StringBuilder related question
I have written a program for a stack. (https://stackoverflow.com/questions/2617367?tab=votes#tab-top)[详细]
2022-12-26 16:55 分类:问答
加载中,请稍侯......