0

Why I'm getting an error on Console.ReadLine...?

static void Main(string[] args) { string startRally = Console.ReadLine; // if (!rallying) { //rallying = true; //} }

c#

10/27/2016 8:20:34 AM

Yubhaseni J M Dickson

2 Answers

New Answer

+3

Use Console.ReadLine(), with parenthesis. Without them, you are manipulating the function itself instead of calling it.

0

Wooo😂 Thanks... I was doing it wrong....