In .NET, parameters can be passed by value or by reference. Most .NET languages provide a way to declare a parameter's mode. For example, in C#, parameters are passed by value by default, and you can use ref and out to specify passing the parameter by reference. In Visual Basic .NET, use ByVal and ByRef to identify the parameter mode.