what is reference parameter?
what is out parameters?
what is difference these two?

Answer Posted / anna

a ref parameter must first be initialized before being
passed from the calling function to the called function.


but a out parameter need not be initialized, we can pass it
directly

Is This Answer Correct ?    52 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are tuples immutable c#?

492


What is difference between value and reference types in C#.NET

505


How can I create image pieces/sub image?

477


What is difference between static and readonly in c#?

438


What is the advantage of constructor in c#?

484






Can we override interface method?

518


What is difference between c and c sharp?

445


What is difference between throw and throws in c#?

446


To create a localized application which namespaces are necessary?

517


Why main method is static in c#?

486


Explain how do you debug an asp.net web application?

471


Is namespace necessary in c#?

481


Why we use methods in c#?

552


If casting fails what type of exception is thrown?

476


How do I simulate optional parameters to com calls?

497