C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




ByRef Keyword


Posted Date: 01 Aug 2007      Total Responses: 1

Posted By: Dotnet Developer       Member Level: Silver     Points: 2


Hi,

What's the use of ByRef keyword? Also,

int a = 10
b(byref a)
{
a = 200
}
system.console.writeline(a)

What would be output of the above code?

Thanks,




Responses

Author: Pankaj Mishra    01 Aug 2007Member Level: DiamondRating:     Points: 2
Using ByRef is a way of passing the address of an argument to a procedure.


Post Reply
You must Sign In to post a response.
Next : C# callback methods
Previous : Boxing/Unboxing
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

conference call definitions

Contact Us    Privacy Policy    Terms Of Use