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
string.
Moreover, "=" is assignment operator.
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C#