assert() in C#?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

in Visual C#, is there an equivalent of ASSERT() (or assert()) in C++? Thanks.

WJ
 
WJ said:
in Visual C#, is there an equivalent of ASSERT() (or assert()) in C++? Thanks.

Yes. See the Debug class, which includes Assert() and a number of other
useful methods.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Assertion failed 1
C# and assert 1
Assert 3
Too Many Assertions? 8
Debug Assertion Failed! 0
compile time assert 1
Windows XP Assertion failed 3
implementing Assert 1

Back
Top