Destroying Objects in a scene

I am making a game where the player needs to destroy all the objects in a scene before moving on to the next level. I dont know how to do this exactly. Can someone please show me some sample code to do this? I tried to use GameObject.findgameobjectwithtag but I need to have some sample code to show me exactly how it can be done.

What did you find in search ? If you search google for tutorials you will prob get some good script examples.

I found it already

You could post your solution here to help others.