C# Verilen bir string dizisini, ters sırada listeleme
using System;
class DiziListele
{
public static void Main(string[] args)
{
string[] strDizi={"Ali","Zekiye","Cemil", "Kemal"};
int son = strDizi.Length-1;
for(int i=son; i>=0; --i)
{
Console.WriteLine(strDizi[i]);
}
}
}
class DiziListele
{
public static void Main(string[] args)
{
string[] strDizi={"Ali","Zekiye","Cemil", "Kemal"};
int son = strDizi.Length-1;
for(int i=son; i>=0; --i)
{
Console.WriteLine(strDizi[i]);
}
}
}
Kategori:
c-sharp,
C#,
C# Verilen bir string dizisini,
csharp,
ters sırada listeleme
tmm