In Parameters in C# 7.2 - Read-only References

added by DotNetKicks
11/27/2017 2:18:30 PM

2 Kicks, 319 Views

In one of our recent post, we discussed about - What is the difference between Ref and Out Keyword in C#? We have seen both the out and ref are used to returning values and both passes variables by reference only. Out parameter is required to be modified by the method.