3 ms·
C# can pass parameters by reference, which is often used to return multiple values from a function. In new C# 6 it will look like this: if (int.TryParse("1234",
by dfkf 12y ago
C# can pass parameters by reference, which is often used to return multiple values from a function. In new C# 6 it will look like this:
if (int.TryParse("1234", out int result)) { /* do stuff */ }
- panzi 12y agoIf you count that than so can C/C++/Objective C (via pointers/references). But I like to use tuples and destructuring of tuples more (syntax wise).