Answer Posted / ashwini
When arguments are passed to a method ByVal i.e. By Value
then the original value of a variable is not passed but its
copy is created and that copy is passed. So whatever
changes are made, they will affect the copy but not the
original value of a variable.
When arguments are passed ByRef i.e. By Reference
then the argument's memory location is passed to a method.
So changes made to that argument's value will actually
affect the original value.
| Is This Answer Correct ? | 31 Yes | 1 No |
Post New Answer View All Answers
What do you use c# for?
What is CLR and its application.?
How do I join one form to another in c#?
What does out mean in c#?
What is Implementation inheritance
How can I get the ascii code for a character in c#?
What happens during the process of boxing?
What are the types of serialization?
What is mvc pattern in c#?
How to rotate an Image in C#?
What is an Interface in C#?
Define delegate?
Explain About multi level and multiple inheritance how to achieve in .net
What is sqldataadapter in c#?
What is lazy class in c#?