0

Is it possible to have a single key in a resx file reference a List, or some other collection?

I noticed this question asked elsewhere, but those who answered didn't seem to understand the question.

In other cases, I see discussion of how to iterate through keys in a resx file.

I suspect it isn't possible to have a single key which has a collection as a value. I suspect that iterating the resx file is indeed the only substitute - but I want to know what others have found.

Community
  • 1
  • 1
Brent Arias
  • 29,277
  • 40
  • 133
  • 234
  • 1
    I suppose you could just serialize the list into one key of the resx file? – dav_i Jul 28 '14 at 16:01
  • You can store anything you want in a .resx file, binary serialization is used to store non-trivial data. Getting it into the .resx file is the tricky part. If the IDE doesn't do it for you, like the various designers do, then it gets to be unpractical. – Hans Passant Jul 28 '14 at 17:38

0 Answers0