单项选择题

使用C#编程过程中,string类中判断字符串不为空使用的API是()

A.Format
B.IsNullOrEmpty
C.Concat
D.Compare