单项选择题

在C#语言中,当用户自定义方法不需要返回任何值时,该方法需要使用()关键字,表示返回值类型。

A.static
B.void
C.string
D.public