Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
Men Jacket Helmet Star


Mention the various methods to pass parameters in a method.
Question Posted on 28 Oct 2022

Home >> DotNet >> C# >> Mention the various methods to pass parameters in a method.




Mention the various methods to pass parameters in a method.
Below are the various methods to pass parameters in any methods:-

(1)Output parameters:-This output parameter helps our method to return more than one value.

(2)Value parameters:-Here in method when we say about value parameters the formal value copies and stores the value of the actual argument, which enables the manipulation of the formal parameter without affecting or change the value of the actual parameter.

(3)Reference parameters:-When we day about reference parameter its a memory address of the actual parameter is stored in the formal argument, which means any change to the formal parameter would reflect on the actual argument too which is also opposite to value parameter.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Simplest definition of partial classes and its rules?
Definition of Tuple class with some examples?
Define Race Condition in cSharp?
C#.Net Reserve Words
can we inherit private class level variables in c#






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |