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

Why data types are important?

520


State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?

481


What is icomparable in c#?

515


What is the difference between namespace and class?

431


What is the meaning of extention?

477






What is asp net c# corner?

786


Is c# and c same?

504


What is a delegate how is it type safe?

461


Does c# support a variable number of arguments?

601


Why is .net so popular?

521


Why delegates are safe in c#?

449


What are the advantages of using delegates in c#?

463


What is the difference between dictionary and hashtable in c#?

460


How can you sort strings in array that are passed to method as arguments?

521


What is session and cookies in c#?

520