0
It says that Console.Writeline doesn't have a definition. Help please?
using System; using System.Collections.Generic; using System.Text; namespace variabler { class Program { static void Main(string[] args) { Console.WriteLine("Skriv ett heltal här:"); string inmatat; inmatat = Console.ReadLine(); int mittHeltal = int.Prase(inmatat); Console.WriteLine("Mata in ett decimaltal här:"); inmatat = Console.ReadLine(); double mittDecimaltal = double.Parse(inmatat); Console.Writeline("Summan av talen blir: " + (mittHeltal + mittDecimaltal));
4 odpowiedzi
+ 2
int mittHeltal = int.Prase(inmatat); ( it should be Parse)
+ 1
C# is case-sensitive language.
Console.WriteLine with uppercase L! :)
0
Woops, thanks but it still doesn't work...
0
hey, i found, same problem look please here : http://stackoverflow.com/questions/4480930/why-doesnt-console-writeline-console-write-work-in-visual-studio-express