C#字符串比较

正确写法1
bool bTemplatecontent2 = strtemplateContentInDB.Equals(strTemplateContentInDesignPanel, StringComparison.Ordinal); bTemplatecontent2 = true;
正确写法2
bool bEqual = String.Equals(strtemplateContentInDB, strTemplateContentInDesignPanel, StringComparison.Ordinal);
bEqual = true;
上一篇:Java和C++的虚函数的异同


下一篇:etherlime-2-Etherlime Library API-deployer