Throw Invalid Operation Exception : Buildin Exceptions : Development Class C# Source Code


Custom Search

C# Source Code » 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);
  }
}

           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Buildin Exceptions