> Languages and APIs > ILOG Concert Technology for C#.NET Users > Good Programming Practices |
Good Programming Practices |
INDEX PREVIOUS NEXT |
The next steps of this tutorial show you how to add features to your application.
Step 16 - | Read the command line (data from user) |
Go to the comment Step 16 in Dietlesson.cs
, and add the following lines to read the data entered by the user at the command line.
Step 17 - | Show correct use of command line |
Go to the comment Step 17 in Dietlesson.cs
, and add the following lines to show the user how to use the command correctly (in case of inappropriate input from a user).
Step 18 - | Enclose the application in try catch statements |
Go to the comment Step 18 in Dietlesson.cs
, and add the following lines to enclose your application in a try and catch statement in case of anomalies during execution.
The try part of that try and catch statement is already available in your original copy of Dietlesson.cs
. When you finish the steps of this tutorial, you will have a complete application ready to compile and execute.
Copyright © 1987-2003 ILOG, S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |