Can we pass ref and out to partial method??

Questions by sambomb3

Showing Answers 1 - 1 of 1 Answers

Deepti

  • Jun 20th, 2014
 

No, Because Out Parameter is used to pass the value out of a method.Out parameters are like return values which must be assigned by the callee. We know a partial method may or may not have an implantation in the case if it does not have a implementation how will it assign value to the out parameters.

Code
  1. span style="color: #ff0000;">"The output is: "+x);

  2.         Console.ReadLine();

  3.  

  4.  

  5.     }

  6. }

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions