Should you use == to compare strings?

You should use string equals to compare two strings for equality, not operator == which just compares the references .

Sizin İçin Seçtik  What is equals () used for?

Leave a Reply

Your email address will not be published. Required fields are marked *