Rule Definition
				String concatenation resolved at runtime is much slower than using StringBuilder.				
								
				
				Remediation
				Use StringBuilder and StringBuilder.Append() method instead				
												
				 Violation Code Sample
				
				// C# sample
String result = "hello";
result += " John";
result += " Smith"; // VIOLATION if the threshold is 3
				 
												 Fixed Code Sample
				
				// C# sample
StringBuilder result = new StringBuilder("hello");
result.Append( " John");
result.Append( " Smith");
				 
												
				 Related Technologies
								.Net
								
				
				
				
				Technical Criterion
				Efficiency - Memory, Network and Disk Space Management
				
				
				
				
				
					
				
				
				
About CAST Appmarq
					
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.