Answer to Question #15397 in C# for james neece
when testing condition of a string variable there is a variable name.Equals(string) and the "=" operator. What is the difference?
name.Equals(string) is an operator that checks the equality of name and
Moreover, "=" is assignment operator.
Learn more about our help with Assignments: C#