What is the syntax and which namespace/class needs to be imported? Give me sample code if possible. It would be of great help.
Put the following where you need it:
System.Diagnostics.Debugger.Break();