Trace Assert : Trace : Development C# Examples


C# Examples » Development » Trace »

 

Trace Assert









    
using  System;
using  System.IO;
using  System.Diagnostics;

class  MainClass
{
    [STAThread]
    static  void  Main(string[]  args)
    {
        int  i  =  0;

        Trace.Assert((i  ==  1),  "My  Trace  Assertion");
    }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Development
» Trace