Step 1: Open New Project window application.
Step 2: Add references in window application. Right click=>Add reference.

Step 3: Add System.Speech reference in application.
Step 4: Add these namespace in your application.

Step 4: Write this code on button click.
Step 5: Design of Window application Form.
Step 6: Run your window application and click on Speech button and see output.

Vinoth VenkatachalamPosted Nov 15, 2018, 4:15 AM
Hi pritikumari your code is not working, error Input string was not in a correct format