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 custom attribute?

0 Answers  


What is datagrid asp.net?

0 Answers  


Which protocol is used to call web service?

0 Answers  


Define Query Interface,Adref,Release?

1 Answers   Microsoft,


Which institute provide good Project training on .Net technologies in hyd?

5 Answers  






What should you do is you want to remove an existing component but would like to make some funtionalities?

0 Answers  


Can a user browsing my Web site read my Web.config or Global.asax files ?

1 Answers  


Can One website be made using two different languages like c#,vb.net etc......

4 Answers   ABC,


whats the best method to cal id in javascript

2 Answers  


What is the file through which you can customize your asp.net application?

0 Answers  


What is query string? What are its advantages and limitations?

0 Answers  


Why is validation always done on the server? When does that occur?

2 Answers  


Categories