|
-
Sep 26th, 2006, 07:37 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] for loop question
im having trouble with the santax of the for loop in C#
in vb.net it would be something like
For index = 0 To table.Columns.Count - 1 Step 1
some stuff
Next
in c#
im getting stuck
/code
int index = table.columns.count -1;
For index ( how do i tell it to step down by -1 till 0)
{
some stuff
}
Last edited by Crash893; Sep 26th, 2006 at 07:53 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|