what is a parameter explain the new types of


What is a parameter? Explain the new types of parameters introduced in C# 4.0.

A parameter is a special type of variable, which is used in a function to give a piece of information or input to a caller function. These inputs are known as arguments. In C#, the different types of parameters are as follows:

Value type - Refers that you do not require to provide any keyword with a parameter.

Reference type - Refers that you require to mention the ref keyword with a parameter.

Output type - Refers that you require to mention the out keyword with a parameter.

 

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: what is a parameter explain the new types of
Reference No:- TGS0310746

Expected delivery within 24 Hours