Can anyone show simpliest  microphone programm?

Hello, I dunno how to use microphone, and I'm bad in english, so i can't find any documentation in my lang of quite poor country, can anyone write simple mic arduino program code. There's no need to comment it.

pin2--------Mic---------GND
pin9--------piezo element------------GND

So how do I make that piezo element to make sounds that Mic "hears"
There's no need in delay. I just need to figure out how it works.

And please don't start posting links on projects or something like that.
Only code plz. if it requires another cirquit. just say that too plz.

This probably beyond the capabilities of an arduino. There aren't enough resources to store audio. It you wanted it to light an LED if the sound level went above a certain level (VU Meter) then yes, but it would require some extra circuitary on the Microphone. A microphone is AC and Arduinos inputs are strictly DC. Its possible you can add a shield to an Arduino to do audio processing, but the Aduino can't do it alone.

ok, so what kind of shield do i have to add for lighting the bulb in case of sound?

Amplify the microphone signal and feed it into the ADC. If the signal is above a threshold level, light an LED. A single transistor amplifier is all that is required, biased at half the supply voltage.