Your present code contains lots of if..else statement for checks null value your application. On basis of that condition you want to invoke a method if value is not null. You want to simplify your code. how would you achieve this task ?

 Posted by Rajkatie on 8/29/2013 | Category: .NET Framework Interview questions | Views: 3330 | Points: 40
Select from following answers:
  1. Null-coalescing operator
  2. Conditional operator
  3. short-circuiting operator
  4. All Above

Show Correct Answer

Source: microsoft exam(C#) | | Alert Moderator 

Comments or Responses

Login to post response