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 msil in c#?
What is session and cookies in c#?
How does dll hell solve in .net?
What is Assembly. and Describe type of assembly. why most developer happy with private assembly.
what is difference between is and as operators in c#?
Contrast System.String and System.Text.StringBuilder classes?
How many classes are there in classification?
Explain copy constructor?
If a method's return type is void, can you use a return keyword in the method?
What is the size of a decimal?
What does private void mean in c#?
What is generic collection in c#?
What is written in c#?
How does array sort work?
What is serialization in .net?