3
Reply

null arguments

Alex 0

Alex 0

Mar 15 2004 6:07 AM
2.1k
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.

Answers (3)
Next Recommended Forum