Which way is used to check whether Textbox or any string value is empty or not?

 Posted by vishalneeraj-24503 on 12/1/2014 | Category: Visual Studio Interview questions | Views: 967 | Points: 40
Select from following answers:
  1. TextBox1.Text == ""
  2. TextBox1.Text == String.Empty
  3. TextBox1.Length == 0
  4. string.IsNullOrEmpty(TextBox1.Text)
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response