这是线程安全的吗?
public class TestPage
{
private static readonly IList<string> AcceptedItems = new List<string>() { "FOO" };
protected void BuildSomething
{
TestMethod();
}
public static void TestMethod()
{
var ok = AcceptedItems.Contains("FOO")
}
}