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
Describe a Struct ?
What do you mean by parsing and how to parse a date time string in c#?
Why do I get a syntax error when trying to declare a variable called checked?
Is datetime nullable c#?
What is reflection in c#?
What is razor view in c#?
What is the max value of int32 in c#?
Is c# good for games?
What is difference between ilist and list?
How do I make a dll in c#?
What are methods in C#?
What is ildasm.exe used for?
What are the three types of predicates?
4. Describe the process when we send a request URL? And who is responsible for that?
What are the methods in c#?