Alex 0

Alex 0

  • NA
  • 204
  • 68.1k

null arguments

Mar 15 2004 6:07 AM
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)