Connecting Tech Pros Worldwide Forums | Help | Site Map

VOID Keyword (VB vs C# Question)

SMH
Guest
 
Posts: n/a
#1: Oct 29 '07
Hi All,

I am currently making the switch from VB to C#.

I understand that the VOID keyword allows creation of a function which
doesnt require any parameters and doesn't return a value.

Is this then, the equivalentof a SUB in VB?

Thank you.

Simon.

SMH
Guest
 
Posts: n/a
#2: Oct 29 '07

re: VOID Keyword (VB vs C# Question)


Ok, apologies - Looks like I posted to quickly, found my answer here:
http://groups.google.com/group/micro...4d998896e4b1b2



On Oct 29, 10:27 pm, SMH <simonmhar...@googlemail.comwrote:
Quote:
Hi All,
>
I am currently making the switch from VB to C#.
>
I understand that the VOID keyword allows creation of a function which
doesnt require any parameters and doesn't return a value.
>
Is this then, the equivalentof a SUB in VB?
>
Thank you.
>
Simon.

Closed Thread