我如何能夠在散列內創建散列,並且嵌套散列具有用於標識它的鍵。另外,我在嵌套哈希創建的元素,我怎麼能對他們有鍵以及 例如 test = Hash.new()
#create second hash with a name?? test = Hash.new("test1")??
test("test1")[1] = 1???
test("test1")[2] = 2???
#create
FooService.cs: public interface IFooService
{
int Foo();
}
[Export("Foo1", typeof(IFooService))]
public class Foo1 : IFooService
{
public int Foo() { return 1; }
}
[Export("Foo2",