单项选择题

为变量dirname赋值为“hello world”的语句为()。

A.dirname=hello world
B.dirname as"hello world"
C.dirname is "hello world"
D.dirname="hello world"