Generating C# code

 

To generate C# code, carry out the steps shown in Figure 11 below.

 

Figure 11. Generating C# code

 

Steps:

1.      Select the "Bank" package in the explorer.

2.      In the toolbar, click on the  "Generate" icon. If the selected package has no generation work product, this is automatically created.

 

Note 1:   During generation, a C# file (.cs extension) is produced for each class contained within the "Bank" package.       

 

Note 2:   C# code generation can also be run by right-clicking on a C# work product to open the context menu and then running the "C# Developer/Generate" command.

 

You can monitor the progress of code generation in the output window (Figure 12).

 

Figure 12. Monitoring the progress of code generation