Getting married at the court in NC

My boyfriend and I want to get married at a courthouse and we are wondering what is the process and if we can get married the same day we apply?