Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
245 B
3
Indexable
string[,] bokTitelPris =
{
    {"It", "89"},
    {"Harry Potter", "139"},
    {"1984", "69"}
};


for (int i = 0; i < bokTitelPris.Length / 2; i++)
{
    Console.WriteLine("Boktitel: " + bokTitelPris[i, 0] + " - Pris: " + bokTitelPris[i, 1]);

}