Link to home
Start Free TrialLog in
Avatar of zhshqzyc
zhshqzyc

asked on

a c# loop

What is wrong?
for (int i = 0; i < list.Count; i++)
       {
             for(int j=0 && j!=i;j<list.Count;j++)
             {
                   \\ do something
             }
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zhshqzyc
zhshqzyc

ASKER

Thanks