C#4のキーワードについての話を聞いていて、疑問に思っているのですが... この機能は他の .NET 機能と直交するものでしょうか? たとえば、拡張メソッドをサポートするのでしょうか?dynamic
public static class StrExtension {
public static string twice(this string str) { return str + str; }
}
...
dynamic x = "Yo";
x.twice(); // will this work?
注:この質問は、C#4 が出荷される前に尋ねられたものです。そのため、未来形で表現されています。