例如
[System.Runtime.CompilerServices.CSharp.IndexerName("TheItem")]public int this [int index] // Indexer declaration
{
}
这句有带中适号,是什么意思?
这个中适号会在什么时候可以用的?
[System.Runtime.CompilerServices.CSharp.IndexerName("TheItem")]public int this [int index] // Indexer declaration
{
}
这句有带中适号,是什么意思?
这个中适号会在什么时候可以用的?
{
}
第二个是索引