Can't edit decimal type value in locals window VS2015
问题 Example C# code (in form load event): int a = 5; double b = 7.2; decimal c = 9.99m; string d = "test"; MessageBox.Show(a.ToString() + "\n" + b.ToString() + "\n" + c.ToString() + "\n" + d); Put a breakpoint on the messagebox line and run. Try to edit the values a, b, c and d in a locals window (or autos or watch). The integer, double and string values can be changed, but the decimal value (c) keeps changing back to the original (9.99m). Why is this? Possible bug? Or am I not getting something?