You are viewing your decimal or double values in Visual Studio. That doesn't respect the culture settings you have on your code.
Change the Region and Language settings on your Control Panel if you want to see decimal
and double
values having the comma as the decimal separator.