import std.stdio; enum : string { A = hello, B = world, } int main(string[] args) { writefln(A : %s, A); writefln(B : %s, B); return 0; }