Thanks
Not exactly. There are two things you can do:
- Declare two methods, one with the optional parameter and one
without. Have the one without call the one with and pass in
a default value for the "optional" parameter
- Use parameter arrays. This isn't quite the same thing, but
you should probably know about them.
See 10.5.1.4 in the C# language specification on how to use
param arrays.
ms-help://MS.NETFrameworkSDK/csspec/html/vclrfcsharpspec_10_5_1_4.htm
(watch for URL wrapping)
-c
Benny
"Chad Myers" <cmy...@N0.SP.4M.austin.rr.com> wrote in message
news:s%PX8.106278$q53.2...@twister.austin.rr.com...