== — operator. Equals() — method.
1string s1 = "hello";2string s2 = "hello";3 4s1 == s2; // true5s1.Equals(s2); // true