Why?

Can anyone tell me why you would do the following?

!latestRow.EditBy.Equals(Convert.ToString((object)latestRow.VerifyBy))


latestRow.EditBy is a string



latestRow.VerifyBy is also a string

Comments

Speedy said…
The answer I usually get is "I had to do that somewhere else" (and what is not said is "I don't understand types -- I just try stuff until it compiles and pray it works"!

Popular Posts