Types of Parameters?

Parameters consist of four types; they are 1.value, 2. out, 3. ref, 4. params.A ‘value’ parameter is a default parameter. An ‘out’ parameter is created by preceding the parameter data type with the ‘out’ modifier . ‘Ref’ parameters are input/output parameters, created by preceding the data type with the ‘ref’ modifier. And ‘params’ are used when a variable number of arguments need to be passed.