what is reference parameter?
what is out parameters?
what is difference these two?
Answer Posted / rahul
In short ,
ref parameters needs to be initialized and can be used as
input as well as for output where as the out parameters
needs not to be initialized as there will not be any use
even if u initialize and can only be used for the the ouput
whose value to passed into the function......
for those who dont like too much reading...... it may help
Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What is the use of constructor in c# with example?
Explain a MSIL ? Why is it appreciated by all developers?
What are the steps to make an assembly to public?
Explain the use of SN.exe
What is cosole application?
What are constants in c#?
What is response redirect in c#?
How long can a string be c#?
Can you store strings in arrays?
Is is possible to force garbage collector to run?
What is a verbatim string literal and why do we use it?
Explain nullable types in c#?
What is append in c#?
What's the implicit name of the parameter that gets passed into the set method/property of a class?
What is inheritance in csharp?