How to change material color of an Object using array or string

how can i change the different color of an object through button using array or string in csharp

Perhaps this question will help you