Creating a map with cubes

I’m trying to create a map 1000 x 1000 with minecraft style cubes. I want the top layer to be grass, and under it have 10 layers of dirt. The mountains will surround the edges of the map and the very edge of the map will not be mineable. Does anyone have any idea how to do it? Im brand new to Unity and I only have experience in C# and XNA

You should go into some tutorials first, how unity works, Prefabs etc. There is a project someone started with a minecraft clone in Unity. It works with height maps like bumpmaps, in black and white. But I don’t know the exact code.

Here’s list of voxel engines for Unity (many free ones with sources included).

But this “simpleminecraft” idea might work well enough (instead of doing complete marching cube systems…)
http://forum.unity3d.com/threads/177831-MineCraft-style-game?p=1218902#post1218902