60 463
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #15397 in C# for james neece

Question #15397
when testing condition of a string variable there is a variable name.Equals(string) and the "=" operator. What is the difference?
Expert's answer
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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions