none
can you tell me what is wrong it says A new expression requiers (),[], or {} after type

    Question

  • using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Xml;
    using System.Speech.Synthesis;
    using System.Diagnostics;
    using System.Speech.Recognition;

    namespace Chronos_X
    {
        public partial class Form1 : Form
        {
            SpeechSynthesizer s = new SpeechSynthesizer();
            Choices listy = new Choices
            public Form1()
            {
                SpeechRecognitionEngine rec = new SpeechRecognitionEngine

                listy.Add(new String[] {"hello"});
    • Edited by Mega Gamez Tuesday, March 28, 2017 8:44 PM
    Tuesday, March 28, 2017 8:39 PM

All replies

  •     public partial class Form1 : Form
        {
            SpeechSynthesizer s = new SpeechSynthesizer();
            Choices listy = new Choices
            public Form1()
            {
                SpeechRecognitionEngine rec = new SpeechRecognitionEngine

    SpeechRecognitionEngine rec = new SpeechRecognitionEngine();

    - Wayne

    Tuesday, March 28, 2017 9:47 PM
  • oops

    Tuesday, March 28, 2017 10:10 PM