RevString2() public static méthode

public static RevString2 ( string str ) : string
str string
Résultat string
         public static int RevNumber(int number)
         {
             string revStringNumber = RevStrings.RevString2(number.ToString().Replace("-", ""));
 
             Int32 num = Int32.Parse(revStringNumber) * Math.Sign(number);
             return num;
         }
         public static double RevNumber2(double number)
         {         
             string revStringNumber = RevStrings.RevString2(number.ToString().Replace("-", ""));
             double num = Convert.ToDouble(revStringNumber) * Math.Sign(number); 
 
             return num;
         }
 public static void callRevStringMethods()
 {
     Console.WriteLine("Hello World!");
     string revString = RevStrings.RevString("You cannot convert an array of strings to an array of characters by just calling a method like ToCharArray");
     Console.WriteLine("reverse string " + revString);
     string revString2 = RevStrings.RevString2("You cannot convert an array of strings to an array of characters by just calling a method like ToCharArray");
     Console.WriteLine("reverse string2 " + revString2);
     string revString3 = RevStrings.RevString3("You cannot convert an array of strings to an array of characters by just calling a method like ToCharArray");
     Console.WriteLine("reverse string3 " + revString3);
     string revString4 = RevStrings.RevString4("You cannot convert an array of strings to an array of characters by just calling a method like ToCharArray");
     Console.WriteLine("reverse string4 " + revString4);
 }