this works fine for me (MD 2.8.6.5, MT 5.2.5, Mono 2.10.9) On Mon, Mar 5, 2012 at 4:16 AM, HairyJohn <[email protected]> wrote:
> Hi guys, > Really strange one, I might be slightly frazzled after a hardcore coding > weekend. Can someone cut and paste this code into a MonoTouch app and try > it > pls: > > Dictionary<int, double> test = new Dictionary<int, double>(); > test[0] = 100; > test[1] = 200; > test[2] = 300; > test[3] = 400; > > Console.Out.WriteLine(test[1]); > > Put a breakpoint on the Console.Out and evaluate the contents of the > dictionary. The values appear to be random, each time you evaluate a value > it can be different, or zero. > > Im using the latest stable releases. Just tried it in VS just to make sure > I > wasn't losing marbles and it works as expected. > > Cheers > Hairy > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Strange-issue-with-double-values-in-a-Dictionary-tp4445684p4445684.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
