what is reference parameter?
what is out parameters?
what is difference these two?

Answer Posted / anna

a ref parameter must first be initialized before being
passed from the calling function to the called function.


but a out parameter need not be initialized, we can pass it
directly

Is This Answer Correct ?    52 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who is a accessibility modifier “protected internal” available to ?

596


What does char mean in c#?

500


Is static thread safe?

490


Can a class have more than 1 destructor?

514


What is meaning of type safety in c#?

464






Explain the use of Mutex in C#?

558


What does assert() do in c#?

547


What is a copy constructor in c#?

496


What is the use of ienumerable in c#?

549


Is stringbuilder faster than string concatenation c#?

443


Which programming language is best for desktop applications?

456


Why dependency injection is used in c#?

490


Why is xml called extensible?

499


Is the following code legal?

565


Can int be null in c#?

498