I was curious about how easy it would be to make the application work on Wine/Linux. It works surprisingly well.
But I'm curious about one thing. See the following code. .Net application written in C#.
Code: Select all
double d = 0;
string s = ""; // Create an empty string.
if (double.TryParse(s, out d) == true)
MessageBox.Show( d.ToString() );
But when running on Wine/Mint tryparse of an empty string returns true and the messagebox shows an empty string showing the d (the double) is empty.
What is d? Is it corrupt? It's not a number. What is it?
Thanks