Throw Invalid Operation Exception : Buildin Exceptions « Development Class « C# / C Sharp
- C# / C Sharp
- Development Class
- Buildin Exceptions
Throw Invalid Operation Exception
using System;
using System.Collections;
public class InvalidOpExample {
public static void Main() {
int[] array = {0,0};
IEnumerator enumerator = array.GetEnumerator();
Console.Write("{0}",enumerator.Current);
}
}
Related examples in the same category