Equals and ==

xiaoxiao2021-03-06  50

S1 = New string ("Sony"); // Created string object

S1.Equals ("Sony"); // Return true

S1 == "Sony" // Return False

//in case

S1 = "sony";

S1 == "Sony" // Return true

转载请注明原文地址:https://www.9cbs.com/read-82684.html

New Post(0)