Original Post
I want to have an array of const strings, but the compile complains "only variable arrays can be initialized" or something like that. private static string[] strings = { "hello", "there", "whatever" } works, but I don't want just static, I really want: private const string[] strings = { "hello", "there", "whatever" } So, why doesn't the damn compiler like that? I think it makes much sense to have an array of const (iaw. non-modifiable) strings.