Use Debug fail method : Assert Debug : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » Assert Debug »

 

Use Debug fail method








    

using System;
using System.Collections;
using System.Diagnostics;

class Class1 {
   static void Main(string[] args) {
     Debug.Fail("Fail Message", "An unexpected exception has been thrown.\n\n");
   }
}


           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Assert Debug