Are their any errors in my code?
// Lists items for sale and their prices
using static System.Console;
class DebugSix01
{
static void Main()
{
string[] items = {"Belt", "Tie", "Scarf", "Cufflinks"};
double[] prices = {29.00, 35.95, 18.50, 112.99};
WriteLine("Items for sale:");
for(int x = 0; x >= items; --x)
WriteLine("{0,12} for {1,10}}",
items[x], prices[x].ToString("C"));
}
}

Bryian TanRank #396 · 6.3K reputationPosted Oct 29, 2017, 6:39 PM EDT
siddhartha sharna126 reputationPosted Oct 29, 2017, 12:55 AM EDT
Dee Walker37 reputationPosted Oct 29, 2017, 1:37 PM EDT
Tapan PatelRank #614 · 3.9K reputationPosted Oct 29, 2017, 4:39 PM EDT