string s="null,null"; bool result=s.split(',)[0]; 运行结果为什么是False
你写错了吧,应该这样写:
string s = "null,null";
string result = s.Split(',')[0];