In the Below XAML code, [code] <TextBlock x:Name="ExpiryDateTextBlock“ Text="{Binding ExpiryDate, StringFormat='MM-dd-yyyy', TargetNullValue='NA'}" > </TextBlock> [/code] Which of the following is correct?

1. 'NA' will be displayed if the ExpiryDate is null.
2. 'NA' will be displayed if the ExpiryDate is less than current date.
3. ExpiryDate value is displayed in the 'MM-dd-yyyy' format
4. Throws a compile-time error.
5. Both 1 and 3


How to participate:

  • Answer the above question and providing your email address along.
  • Only the answer provided with email address will be marked.
  • Only the first correct answer will be considered.
  • For further details kindly refer to the Competition Rules and Guidelines.