70-483 question 145 discussion


You are developing an application by using C#. The application includes a method named
SendMessage. The SendMessage() method requires a string input.
You need to replace "Hello" with "Goodbye" in the parameter that is passed to the
SendMessage() method.
Which two code segments can you use to achieve this goal? (Each correct answer
presents a complete solution. Choose two.)

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Created 7 months, 3 weeks ago by srimanroop


easy question :-D


Sure, but it requires that you know that strings are immutable. Otherwise you might assume that D could also work.


B & C