Difference between ByVal and ByRef?

Answer Posted / hemali

ByVal is use to pass the value..
& ByRef is use to pass the reference of variable.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know

699


what is loosely coupled solution? How it can be used?

562


What does postback mean?

533


Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

537


What is a viewstate?

562






Is it possible to write code in many languages in one asp.net project?

555


Where do we store our connection string in asp.net application?

522


We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?

433


Where session variables are stored?

541


Describe the difference between inline and code behind - which is best in a?

569


Explain the difference between server control and html control.

472


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

521


What is the difference between sealed vs static class?

576


What type of code, client-side or server-side, is found in a code-behind file of a Web page?

579


How to register exception filter globally?

578