C# Yazıyı ters çevirme kodları
string yazi = "abc";
char[] ters = new char[yazi.Length];
for (int i = 0; i < yazi.Length;i++)
{
ters[i] = yazi[yazi.Length -i- 1];
}
Console.WriteLine(ters);
char[] ters = new char[yazi.Length];
for (int i = 0; i < yazi.Length;i++)
{
ters[i] = yazi[yazi.Length -i- 1];
}
Console.WriteLine(ters);
Kategori:
c-sharp,
C#,
C# Yazıyı ters çevirme kodları,
csharp
0 yorum → "C# Yazıyı ters çevirme kodları"
Yorum Gönder