Jie Zhu
Wednesday, August 25, 2010
Compare Array has equalent element
string[] arr1=new string[3]{"a","b","c"}
string[] arr2=new string[3]{"a","b","c"}
arr1==arr2 //false
arr1.Equals(arr2) //false
arr1.SequenceEqual(arr2) //true
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment