Answer Posted / satya
if you want pass parameters by reference then ref keyword
should be used in calling and called methods
void add(ref int x)--- called(formal parameter)
add(ref a)-----calling(actual parameter)
.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How C# 4.0 supports dynamic programming language?
Is c# strongly typed?
What do you understand by the terms datareader object and dataset object?
What is difference between mutable and immutable in c#?
Can you inherit from multiple classes in c#?
What is difference between method and function in c#?
Where’s global assembly cache located on the system?
Can abstract class have constructor?
How many types of serialization are there in c#?
What is c# best for?
Describe the ways of cleaning up objects in c#.
What is delegation in oops?
What is the use of tryparse in c#?
While debugging a C# application can you change the value of a variable?
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?