L
Luigi
Hi all,
I have a Dictionary (that is a property for a class) like this:
public Dictionary<string, decimal?> Value = new Dictionary<string,
decimal?>();
where I put the values like these:
column1 - 10
column2 - 12
....etc
When I chech to verify is two class are identical, the following code
returns me false, also if class "voce1" has "column1" and 10, like "voce2"
bool valoreUguale = (voce1.Value == voce2.Value);
Why this happen?
Thanks in advance.
I have a Dictionary (that is a property for a class) like this:
public Dictionary<string, decimal?> Value = new Dictionary<string,
decimal?>();
where I put the values like these:
column1 - 10
column2 - 12
....etc
When I chech to verify is two class are identical, the following code
returns me false, also if class "voce1" has "column1" and 10, like "voce2"
bool valoreUguale = (voce1.Value == voce2.Value);
Why this happen?
Thanks in advance.