c# - TextBox.Clear() or TextBox.Text = string.Empty -
is there difference between them? thank you
textbox.clear(); textbox.text = string.empty;
in practice: nope. internally, there is. both clear text in different ways.
i wouldn't dare tell 1 better, if want follow sources, here's clear() , here's when change text
Comments
Post a Comment