How to build a Voxel terrain like Minecraft in Unity3D

I am making a Minecraft Clone. Can some give me C# or Js code so that i can generate a terrain of Voxels
Please help me i am a Newbie and I am a student of O’Levels

Look at this thread:
You can download some of there projects. Just find the links in the thread.