This is what I do, but it didn\'t work:
int money;
Console.Writeline(\"Enter how much money you want\";
money=int.Parse(Console.ReadLine());
Console.Writeli
You have several options:
Concatenate the strings:
Console.Writeline("The Money you have now are" + money);
Use the format specifier version of Console.WriteLine:
Console.Writeline("The Money you have now are: {0}", money);
Use Console.Write instead:
Console.Write("The Money you have now are: ");
Console.Writeline(money);
Your code doesn't actually compile due to some missing parentheses, semi-colons and incorrect casing. I would write your code as this:
Console.WriteLine("Enter how much money you want");
int money = int.Parse(Console.ReadLine());
Console.WriteLine("The Money you have now is {0}", money);
As of C# 6, this can be written as:
Console.Writeline($"The Money you have now are: {money}");
See: $ - string interpolation (C# reference)