Answer Posted / akshay
assert() is mainly used for debugging the code. The expression is given in the brackets and if the expression becomes false the Assertion Failure takes place. Which simply terminates the application giving file name and line number.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is different between Implicit conversion and Explicit conversion in C#?
What are Indexers in C#?
What are the different types of assembly?
What is thread and explain states of a thread in c#?
Explain how to implement an object pool in c#.net
How does a while loop work?
What is uint c#?
From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?
What are the advantages of properties in c#?
What is type safe in c#?
What is thread safe in c#?
How can we sort an array in c#?
What are the Configuration files in .net?
What is a nested type. Give an example?
What is difference between dynamic and var in c#?