c# - A new expression requires () -


i following microsoft tutorial , got code doesn't work.

using system; using system.collections.generic; using system.linq; using system.text; using system.threading.tasks;  namespace consoleapp1 {     class program     {         static void main(string[] args)         {             int[] liczby = new int liczby[] { 5, 6, 7, 8 ,9, 10 };              console.writeline(liczby[5]);              console.readkey();         }     } } 

change line instantiating int array this:

int[] liczby = new int[] { 5, 6, 7, 8 ,9, 10 }; 

this syntax error.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -