Can I use a collection initializer for Dictionary entries?

前端 未结 7 1327
猫巷女王i
猫巷女王i 2020-12-09 14:19

I want to use a collection initializer for the next bit of code:

public Dictionary GetNames()
{
    Dictionary names =          


        
7条回答
提交回复
热议问题