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
Explain about Oops concept
Explain the use of virtual, sealed, override, and abstract method?
Is string nullable c#?
What is static variable in c#?
Why do we need constructor in c#?
To whom a method is accesssed if it is marked as protected internal ?
Explain About Postback
What is a console?
what is partial assembly reference
Is stringbuilder better than string?
Are attributes inherited c#?
How do you escape c#?
What is icomparable in c#?
What's difference between constants and static readonly?
How do you create user defined data types in c#?