Jump to content


Community Status Updates


Photo

DavidV

// naive version of string reverse: public static string reverse(this string target) { int length = target.Length; char[] result = new char[length]; for (int i = length - 1; i >= 0; i--) { result[length - 1 - i] = target[i]; } return new string(result); }
Apr 28 2012 10:11 PM