----- Original Message -----
From: "Cor Ligthert[MVP]" <notmyfirstname @planet.nl>
Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
Sent: Sunday, May 18, 2008 12:05 AM
Subject: Re: Reverse Loop?
Scott,
>
Nice solution, however why then not
>
for (int i = 160;i>100;i--)
{
console.writeli ne(i/2);
}
>
However the idea was yours
>
>
Nice solution, however why then not
>
for (int i = 160;i>100;i--)
{
console.writeli ne(i/2);
}
>
However the idea was yours
>
I am sure you knew that, Cor....So you may proceed to kick yourself now.
<grin>
console.writeli ne(i/2.0); // That's better
Bill
Comment