In Main function another function is there and to that
function if we pass string as parameter ,then that string
value is passed by value or reference type?

Answer Posted / madeshwaran

It will be passed as a value not as a reference.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c# support const methods, properties, or events?

548


Are c# generics the same as c++ templates?

497


Which program construct must return a value?

565


Any problem found in vs.et

586


What is different about switch statements in c#?

492






What is getenumerator?

460


Is stringbuilder faster than string concatenation c#?

447


Is datetime nullable c#?

505


What is private constructor c#?

495


What is the difference between gettype and typeof in c#?

453


What is difference between class and abstract class in c#?

461


Is system a class in c#?

496


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

549


How does inheritance work in c#?

621


What is lambda expression in c#?

509