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
Illustrate serialization?
Name some properties of thread class.
What is selector c#?
Is Multiple-inheritance supported by c#?
What is application c#?
What is trim in c#?
Why abstract class can not be instantiated?
Can bool be null c#?
What are the problem with .NET generics?
What is difference between method overriding and method overloading?
What does the keyword “virtual†declare for a method or property?
Why generics are used in c#?
What is generic delegates in c#?
What is public, private, protected, internal and internal protected?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates