What is the difference between ref & out parameters?
Answer Posted / padam
An argument passed as ref must be initialized before passing
to the method whereas out parameter needs not to be
initialized before passing to a method.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Explain the concepts of cts and cls(common language specification).
Why do we need constructor in c#?
What is tryparse c#?
What is uint c#?
What is a clr (common language runtime)?
Is dictionary a collection?
What is wcf c#?
How can I access the registry from c# code?
What is the difference between ref and out parameters in c#?
What are winforms in c#?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
What is lazy loading entity framework?
What is writeline?
Is hashset serializable c#?
Can we inherit abstract class in c#?