雑記 - otherwise

最近はDQ10しかやっていないダメ技術者がちまちまと綴る雑記帳

2010-04-23から1日間の記事一覧

ジェネリックの型パラメータに dynamic を指定する

C#

……これ、出来るんですね。 class SampleA { public string Some() { return "SampleA.Some()"; } } class SampleB { public string Some() { return "SampleB.Some()"; } } class SampleC { public string Some() { return "SampleC.Some()"; } } class Foo …