Created
July 3, 2015 13:52
-
-
Save anonymous/4adc935390bba3386106 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
public class Hoge | |
{ | |
public Hoge (IDictionary dict) | |
{ | |
IDictionary fugaMap = (IDictionary)dict["fuga"]; // 正しくcastされる | |
int fugaID = (int)fugaMap["fugaID"]; // 正しくcastされる | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment