Developers of C++ and numerous different dialects are acclimated to being responsible for whether the qualities they dole out to factors are essential values or are references to existing articles. In C# programming, notwithstanding, that choice is made by the developer who composed the item, not by the software engineer who instantiates the article and allows it to a variable. This is a typical "gotcha" for those endeavoring to learn C# programming.
source https://www.c-sharpcorner.com/Blogs/mistakes-in-c-sharp-programming-by-using-reference-like-value
No comments:
Post a Comment