Introduction and Getting Started > Working with the supplied example models > The C# Another Block (Tetris) Example Application > Creating the C# Another Block (Tetris) Example application
  
Creating the C# Another Block (Tetris) Example application
The Another Block application is built from source files generated from the C# Another Block (Tetris) Example model - ACS generates these files using the C# Generator Code Generator DLL.
If you want to generate the source files for the Another Block example application, generate the files to the following folder, which contains the supporting files required to build the application: C:\ProgramData\PTC Integrity Modeler\Example\C#\Another Block (Tetris)\VS Project
To generate the source files for the C# Another Block (Tetris) Example application:
1. In Modeler, open the C# Another Block (Tetris) Example model, which is provided in the Examples database.
2. On the Packages pane, select the Model.
3. If the ACS/TDK Control toolbar is not shown: on the View menu, point to Toolbars, and then click ACS/TDK Control.
4. On the ACS/TDK Control toolbar, click the Load/Unload button.
5. On the ACS/TDK Control toolbar, click the Edit Scheme button.
6. From the Launch ACS/TDK dialog, click the Settings File selection button.
7. Select the provided C# Another Block (Tetris) Example.sni file that resides in the following folder (assuming you have installed Modeler to the default location):
C:\ProgramData\PTC Integrity Modeler\Example\C#\Another Block (Tetris)
8. On the Standard tab of the Launch ACS/TDK dialog, confirm that the C# Generator.dll Code Generator DLL is selected.
9. Specify the Target Directory for generated code.
10. Click the Save and Launch button.
Wait for ACS to finish generating to the cache.
11. On the ACS/TDK Control toolbar, click the Force Generate button.
To build the C# Another Block (Tetris) Example application:
1. In Visual Studio, open the Another Block.sln file that resides in the following folder (assuming that you have installed Modeler to the default location):
C:\ProgramData\PTC Integrity Modeler\Example\C#\Another Block (Tetris)\VS Project
2. Build the Another Block application.