Debug class
/*
* C# Programmers Pocket Consultant
* Author: Gregory S. MacBeth
* Email: gmacbeth@comporium.net
* Create Date: June 27, 2003
* Last Modified Date:
* Version: 1
*/
using System;
using System.IO;
using System.Diagnostics;
namespace Client.Chapter_16___Debugging
{
public class Class1Chapter_16___Debugging
{
[STAThread]
static void Main(string[] args)
{
int i = 0;
Trace.Assert((i == 1), "My Trace Assertion");
Debug.Assert((i == 1), "My Debug Assertion");
}
}
}
Related examples in the same category