public static class String Extensions { public static string Reverse(this string value) { value = // do your reverse code here; return value; } } // Usage: string x = "reverse"; x = x.Reverse();
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)