This project has moved. For the latest updates, please go here.

how to create an array for attributes?

Oct 23, 2012 at 10:58 AM

hi folks,

i've a list of dynamic object from a jsonresult:


dynamic Attributi = JValue.Parse(jsonResult);

when i want to print some information, i'll do this:
string codiceFiscale = Attributi.AnagraficaCliente.CodiceFiscale;
and i've my fiscal code from json. But i've a problem:
i've an array of attributes that they coming from a list<string>:
var objectToView = new List<string>();
objectToView is made of 5 elements:

how can i do to print information from a list of string?

thanks in advance,