Help with arduino infrared remote

Hi im kinda new to arduino programming has anyone got a code for receiving and sending infrared codes with infrared receiver and infrared sender?

Is there none in your Examples Library ?