what is reference parameter?
what is out parameters?
what is difference these two?
Answer Posted / vijaysaxena
out -doesnot keep initial value or assigned value.
ref-does
void f1(out int t){
t+=100 //give error becs t has no value --true for ref
t=100 //possible
}
Is This Answer Correct ? | 6 Yes | 11 No |
Post New Answer View All Answers
What is msil, and why should developers need an appreciation of it if at all?
Can you declare a class or a struct as constant?
What is parameters in c#?
What is a concrete class in c#?
What is the xml document structure?
Is c# the same as d flat?
Explain the role of the datareader class in ado.net connections?
Write the syntax for catching an exception in c#?
How do I unload an assembly?
Explain About Web.config
What is eager and lazy loading in c#?
Why do we need indexers in c#?
What is difference between internal and protected internal in c#?
windows c# using datagridview in edit form sql server
What is the relationship between a process, application domain, and application?