How to use VB to C# conversion service (3) - Sub/Function mode

(Click here for Part 2)

Sub/Function mode converts a single Sub-procedure or function definition.
*Currently, only one function or Sub-procedure can be converted. Please note that an error will occur if you enter two or more functions or Sub-procedures.

1. Open the conversion service page.

2. Select 'one sub/function'

3. Paste your VB code for one function (or sub-procedure) in the on the left side textarea "VB code".

4. Press the middle ">>" button.

5. The translated C# code will be displayed on the right side textarea.

Part 4. declaration-section mode

Back to top