I am using Windows 7, Visual Studio 2013, C # and .NET 4.5.
My problem is the output of the line below:
Console.WriteLine("Car`s value: {0:C} ", myNewCar.determineMarketValue());
myNewCar.determineMarketValue() returns double.
How can I fix this problem?
My conclusion: 
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lesson15SimpleClasses { class Program { static void Main(string[] args) { Car myNewCar = new Car(); myNewCar.Make = "Oldsmobile"; myNewCar.Model = "Cutlas Supreme"; myNewCar.Year = 1986; myNewCar.Color = "Silver"; Console.OutputEncoding = System.Text.Encoding.Unicode; Console.WriteLine("{0} - {1} - {2}", myNewCar.Make, myNewCar.Model, myNewCar.Color); Console.WriteLine("Car`s value: {0:C} ", myNewCar.determineMarketValue()); Console.ReadLine(); } } class Car { public string Make { get; set; } public string Model { get; set; } public int Year { get; set; } public string Color { get; set; } public double determineMarketValue() { double carValue = 100.0; if (this.Year > 1990) carValue = 10000.0; else carValue = 2000.0; return (carValue); } } }
I have added my code. Just a simple but valid job :(
Update: Updated code to use Console.OutputEncoding = System.Text.Encoding.Unicode; as well as my currency and console settings are shown below: 
The problem you can see is that although I updated my code to use unicode, changed my CMD settings to use the Lucida Console font, when I run the program from VS, the font remains the same version of bitmap fonts.
LAST EDIT: Here's how to quickly and easily change the console font used by the Visual Studio console. Now the currency is correctly displayed in my program: The font of the management console and the layout used by the C # .NET console application
strax source share