public static void Main()
Console.WriteLine(EstPalindrome("kayak"));
Console.WriteLine(EstPalindrome("Cerfal"));
Console.WriteLine(Reverse("Kayak"));
Console.WriteLine(Reverse("Cerfal"));
public static void Vowel(String Chaine)
for (int i = 0 ; i <(Chaine.Length-1) ; i++)
if ( (Chaine[i]=='a') || (Chaine[i]=='e') || (Chaine[i]=='i') || (Chaine[i]=='o') || (Chaine[i]=='u') || (Chaine[i]=='y'))
Console.WriteLine("La chaine contient au moins une voyelle");
Console.WriteLine("La chaine ne contient aucune voyelle");
public static void IncrDecrSum(ref int Var1,ref int Var2,ref int Var3)
public static string Concatener(string Chaine1, string Chaine2)
public static string Reverse(string Chaine)
for (int i = (Chaine.Length-1) ; i>-1 ; i--)
inverse=inverse+Chaine[i];
public static bool EstPalindrome(string Chaine)
return Chaine==Reverse(Chaine);
public static void Concat_email(string Nom, string Prenom, string Domaine, string Extension)
string email= Prenom+'.'+Nom+'@'+Domaine+'.'+Extension;
Console.WriteLine(email);