C# and assert

  • Thread starter Thread starter Z.K.
  • Start date Start date
Z

Z.K.

I can't seem to get assert to work. The namespace does not seem to
exist. I have Visual Studio 2005 Professional - Student Version. Is it
not included in this version? I have heard there is a version in NUNIT
so I guess I will download that and see.

Z.K.
 
Z.K. said:
I can't seem to get assert to work. The namespace does not seem to
exist. I have Visual Studio 2005 Professional - Student Version. Is it
not included in this version? I have heard there is a version in NUNIT
so I guess I will download that and see.

Z.K.

Disregard this post. I figured out what was wrong. The code example I
was trying to use was incorrect. I added

using System.Diagnostc;

and then I used Debug.Assert instead of just Assert


Z.K.
 
Back
Top