adspace


How do I do implement a trace and assert?

Answer Posted / Sachin Kumar Gupta

In C#, you can use the System.Diagnostics namespace to implement tracing and asserting. For tracing, you can use the Trace and Debug classes. For assertions, you can create custom Assert classes or use libraries like NUnit or MSTest.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which namespaces are necessary to create a localized application?

1147


What is expression tree in c#?

1004


Why can't we use a static class instead of singleton?

962


How to assign Null value to Var?

1071


How do you inherit a class into other class in c#?

999


What is an abstract class c#?

973