Many languages have a separate syntax for methods that return a value vs
those that don't. VB and VB.NET hav Sub vs Function, FoxPro has Procedure
vs Function, etc. C# just has a function syntax with a faux return type,
void, to indicate that nothing is to be returned. This is characteristic of
all C-family languages including Java and C++.
--Bob
"Scott" <Sc***@discussions.microsoft.com> wrote in message
news:11**********************************@microsof t.com...
Can anyone please give me a broef explanation of what the void keyword is
for? What does it do? Do I need to use it?
Thanks,
Scott