Possible Duplicate:
Difference between ref and out parameters in .NET
When to use ref and when to use out ?
What is difference between the both ?
How and where they are used ?
Please share an example showing difference between the both ref and out .
- Thanks.