Null arguments
In VB you can pass Nothing to arguments when you are not interested in the return value e.g.:
MySub(intNumber, Nothing, Nothing)
Is there an equivalent in C#?
The following does not compile:
MySub(intNumber, null, null);
Cheers,
Alex.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit Mishra56 reputationPosted Mar 15, 2004, 4:14 PM EST
david 0Rank #8,108 · 228 reputationPosted Mar 16, 2004, 10:48 AM EST
Amit Mishra56 reputationPosted Mar 17, 2004, 8:36 AM EST