I'm trying whit this decimal.TryParse(primero, NumberStyles.Any, CultureInfo.CurrentCulture, out p), the culture is en-US and decimal separator "." but when i send "10,5" result is 105
Hello, I need to send a ViewModel to a post request. I'm trying to serialize it with this "@Html.Raw(Json.Encode(Modelo))" but when it arrives to server, the decimal type fields are null when it has decimal values example 1200.43
My logic of doing so is because if they add another type of unit in the list I do not want to have to add another if, I do not know if I understand what I intend
Hi, i need add hours, minutes or days to a DateTime according to the value of enumeration selected but i would like make it without check the value (without "if" statement). I thought of a extension method but I'm not sure
@mr5 "Message=Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."
I have an error rare, I define a property like int? and from postman send a request to the service with a property and the value with 4 digits, only there run the error, if I send with 3 digits or 5 digits the error not run.