Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
When to use Ref and Out keyword
March 01, 2010
I know what is ref and out. But I am confused when to use ref and when to use out key word in .net framework.
Please help me with answer.
Syed Shakeer Hussain
Posted Date: March 01, 2010 Points: 5
check the below link
Posted Date: March 03, 2010 Points: 5
Out keyword must be used when u don't know the value of the parameter..
for ex: sum (a,b,out c) here it is third parameter
To post reply
Related Questions Related Questions
What is the use of this keyword in C sharp?
Internal keyword in C#
on what basis NEWID() keyword in sql generate random numbers
what is the use of except keyword in sql server?
Search Data from ebay.com using keyword from textbox
Declare Virtual keyword in C#.net
use of new() keyword in where function
Benefits of Params Keyword in C#.NET
search according to category selected from the drop down list that matches with keyword in texbox
how to get data from google based on search keyword in textbox in my .net application
Latest Forum Questions From The Same Category
Window Service C#.net not working properly
C# Onvif IP Camera Viewer NuGet package
Land Registry Business Gateway Webservice - reference the returned XMLDocument
Technology to be used for Finance Application
problem instal net framwork 4
I am looking for Dotnet developer opening in Middle level company.
Validate the Grade in gridview in asp.net using C#
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend