I am very new in Linux (first day). I needed to add my program to the OS startup. I could not find a solution, so I tried to do something that could solve my issue.

I added my line of text `/opt/mono/bin/mono /root/MySoft/UDPServer.exe "$@"` to `/etc/rc.d/rc.local` 

Now my Centos is frozen in loading screen... Is there any way to fix it back? :)