Multi Value Dictionary?

后端 未结 10 1880
萌比男神i
萌比男神i 2020-11-27 20:45

Anyone know of a good implementation of a MultiValueDictionary? Basically, I want something that allows multiple values per key. I want to be able to do somethi

10条回答
  •  甜味超标
    2020-11-27 21:24

    Microsoft just added an official prelease version of exactly what you're looking for (called a MultiDictionary) available through NuGet here: https://www.nuget.org/packages/Microsoft.Experimental.Collections/

    Info on usage and more details can be found through the official MSDN blog post here: http://blogs.msdn.com/b/dotnet/archive/2014/06/20/would-you-like-a-multidictionary.aspx

    I'm the developer for this package, so let me know either here or on MSDN if you have any questions about performance or anything.

    Hope that helps.

提交回复
热议问题