
Of course not
Tone Matters
The phrase can sound dismissive or curt, showing annoyance or impatience towards the questioned suggestion. 
Emphasizing Certainty
Use it to make your negation very clear and to show there's no doubt about your response. 
Informal Setting
Most appropriate in casual conversations rather than formal or professional communication. 