#include "stdafx.h" using namespace System; ref class MyClass { public: static initonly String^ name = "a"; // OK };