Are parameters passed by reference or value in C#?
By default, all parameters are passed by value in C# - but you need to be aware that when you're passing a reference type, you're passing a reference rather than an actual object.
The Wikipedia substitute...
Are parameters passed by reference or value in C#?
By default, all parameters are passed by value in C# - but you need to be aware that when you're passing a reference type, you're passing a reference rather than an actual object.
No comments:
Post a Comment