dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Bug: no continue in foreach loops


From: Nick
Subject: [DotGNU]Bug: no continue in foreach loops
Date: 12 Aug 2002 22:47:48 -0400

Heya folks, just wanted to pass this on. The following code will produce
a "`continue' used outside loop" error from cscc.

Nick

public class foobar {
        public static void Main() {
                int[] ia = new int[] {1,2,3};
                foreach (int i in ia) {
                        continue;
                }
        }
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]