No more explicit casts getting strong types from loose dictionaries

added by togakangaroo
2/23/2010 6:12:20 PM

0 Kicks, 67 Views

I hate doing int myVal = (int)dictionary["myval"]; don't you? Here I describe how the cast can be done implicitly in C# 4.0


0 comments