Debug.Assert is also very useful, I use it all the time, because it is conditional.