What to use to store data like eg. block types?

What should I use to store data that will not be modified but only accessed to find out some things.

Eg. DirtBlock could store data like: prefab, color, strength, biome and others.

Also how to make an array of these blocks types (BlockTypes) that can be accessed in an easy way? With eg. enum type:

enum BlockType { Block1, Block2, Block3 }
this.prefab = BlockTypes[BlockType.Block1].prefab;

If you wanna only accessed but don’t let anyone modify it when play game, you can store variable like that (C#):

public class Block()
{
int _storeInt;
public int StoreInt
 {
  get { return _storeInt;}
 }
}

so when you want to call _storeInt, just simply call StoreInt.

I don’t know what you mean with 2nd question, when you created an array of BlockTypes, you can access easily to all public variables of that class.