Search 
Wednesday, July 23, 2008..:: HowTo.NET » Advise.NET::..Register  Login
 General recommendations
Dear .NET lovers.
This page is dedicated to the advised uses of .NET Framework that we developers come across. Some of the articles or advises below are best practices in .NET methodologies.



Syndicate   Print   
 Specific items

1. Usage of long strings:




When you need to use long strings, and add more and more dynamically to this string, it is advised that you use StringBuilder instead of regular string concatination. The reason is, when you concate string into the string field, you occupy heap until the garbage collection takes place. However when you use StringBuilder, you will just append text to the end of the object.

Syndicate   Print   
www.Sevder.com provides tips and techniques for asp.net, csharp, sql, stored procedures to developers from developer.
Copyright 2004-2005 SevDer.com   Terms Of Use  Privacy Statement