I would say
if txtName1.Text.Length = 0 then...
is best because it's just fetching a property that is already known, rather than some of your other suggestions that have to do extra string comparison processing.
$0.02
|
Results 1 to 4 of 4
Thread: which one to use?Threaded View
|
Click Here to Expand Forum to Full Width |