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 delegate in c#?
What is the use of thread join in c#?
What is the difference between yield and return?
I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?
Does c# support try-catch-finally blocks?
How to create events for a control? What is custom events? How to create it?
What is reference types in c#?
Is c# a strongly-typed language?
What do you mean by parsing and how to parse a date time string in c#?
What is transparent caching with aop ?
What is the use of table aliases?
What is difference between static and constant variable?
What is difference between dll and exe in c#?
What Is The Smallest Unit Of Execution In .net?
Define multicast delegate in c#?