Reputation: 6389
Had a search and can't find this.
I'm looking for the VB.Net equivalent of C#7 inline out variable declaration, e.g:
MethodCall(arg1, out string arg2);
Does such a thing exist in the equivalent VB.Net versions?
* the duplicate proposed isn't quite right I'm afraid, but I've marked Heinzi's answer correct.
Upvotes: 10
Views: 2585
Reputation: 172390
This feature has been suggested to the Visual Basic language team:
but it is currently not implemented.
Upvotes: 10