C# Call By ValueIn C#, value-type parameters are that pass a copy of original value to the function rather than reference. It does not modify the original value. A change made in passed value does not alter the actual value. In the following example, we have pass value during function call. C# Call By Value ExampleOutput: Value before calling the function 50 Value inside the show function 2500 Value after calling the function 50
Next TopicC# Call By Reference
|