C# FAQ: How can I declare inout arguments in CSharp?Microsoft .NET Framework, ADO.NET, ASP.NET, SQL Server, Visual C#, Visual Studio Developer Training Jump to: navigation, searchCSharp-Online.NET:FAQsC# and .NET FAQCSharp-Online.NET FAQMediaWiki FAQedit[edit] How can I declare inout arguments in C#? To create the equivalent of C-style inout arguments in C#, use the ref keyword. The ref keyword is used in the following method declaration: publicvoid aMethod (refString string1, outString string2){ ....
|
1
Votes |
|
|||
No comments yet, be the first one to post comment.