PierlucSS 52 Junior Poster

I have been able to serialize an ienumerable this way

[XmlArray("TRANSACTIONS")]
            [XmlArrayItem("TRANSACTION", typeof(Record))]
            public IEnumerable<BudgetRecord> Records
            {
                    get 
                    {
                            foreach(Record br in _budget)
                            {
                                    yield return br;
                            }
                    }
            }

However, I realised that now I need a dictionnary containing a collection (Dictionary (Record collection implements ienumerable)))?

how can i achieve that?

Thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.