Sometimes it is useful to return a value through a parameter. In C#, we can use the ref and out keywords when returning value types through a parameter.