Saturday, 15 February 2014

How to make for loop faster



string[] Technology = { "Asp", "Asp.net", "C#", "Javascript", "WCF", "WPF", "MVC" };

List<string> TechList = new List<string>();

for (int index = 0, strlength = Technology.Length; index < strlength; index++)


{

   TechList.Add(Technology[index]);

}


No comments:

Post a Comment