How do you Assert true in C#?

What do you mean by Assert true in C#?

Declares that a condition is true. If the condition is false, the function throws an AssertionException.

Syntax: public static void True (bool condition, string message);