Difference between ByVal and ByRef?

Answers were Sorted based on User's Feedback



Difference between ByVal and ByRef?..

Answer / ashok

whenver a data type is derived from a structure then it s
said to be value type


EX:int,uint,short



where a data type is dervied from class definition then it
is said to be reference type

EX:object,string,delegate,interface

Is This Answer Correct ?    5 Yes 0 No

Difference between ByVal and ByRef?..

Answer / 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

More ASP.NET Interview Questions

What is .net framework and what are the main components of it?

0 Answers  


What is syntax code to send email from an asp.net application?

0 Answers  


How to merge 2 tables fields in DataTable in asp.net

6 Answers   Wipro,


How does session work in asp net?

0 Answers  


What does the orientation property do in a menu control?

0 Answers  






What are the security types in asp.net?

0 Answers  


Give an example appropriate use forweb service as opposed to a non-serviced .NET component

1 Answers   Siebel,


how to transfer the file from client to server using asp.net

0 Answers   Sans Pareil IT Services,


What is the difference between ASP Session State and ASP.Net Session State?

0 Answers  


Where does the Web page belong in the .NET Framework class hierarchy?

1 Answers  


how we deploy the asp.net 2.0 application

2 Answers   Logistics,


What is asp net application object?

0 Answers  


Categories