'Type' 像变量一样使用 (c#)

'Type' is used like a Variable (c#)

我 运行 遇到了以下编译器错误,我不确定该怎么办:

System.Windows.Document.List is a 'Type' bus is used like a 'variable'

这是消息的来源代码:

public blabla this[int index]
{
    get {return (blabla)List(Index);}
    set {List(Index) = value;}
}

我在 VB 中编写了这段代码,并试图让它在 c# 中工作,知道如何解决这个问题吗?

在 C# 中访问 Collection 特定项目是这样的:

List[Index]

在VB中:

List(Index)

勾选here on MSDN