how do I play an animation clip through code?

All I want to do is play an animation clip through code. (no looping). That should be easy right? But I looked around the web and nothing worked for me. I just want to know how I can make my animation be played through a c# script.