what is reference parameter?
what is out parameters?
what is difference these two?
Answer Posted / rvs varma
Ref parameter can be used as both input and o/p parameter
out parameter can be used as only output parameter
| Is This Answer Correct ? | 29 Yes | 5 No |
Post New Answer View All Answers
You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?
Will the following code compile and run?
What is the difference between virtual method and abstract method?
Why delegate is used in c#?
What is the use of GC.KeepAlive Method?
What is the default scope of a class in c#?
Why ienumerable is used in c#?
Explain partial class in c#?
What is the difference between constant and readonly in c#?
Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.
What is the use of xmlserializer?
Is it possible to execute multiple catch block for a single try statement?
Can I define a type that is an alias of another type (like typedef in c++)?
Can enum have methods c#?
How to update the gui from another thread in c#?