how to get the set id value in list<string> in c#
<p>Attach Code: </p>

<pre><code>var frameid = $('iframe').attr('id');

var aData = $($($('#' + frameid).contents()).find('#form1')[0]).find("input, select, textarea").not("#__VIEWSTATEGENERATOR").serialize();
$.ajax({
    type: "POST",
    dataType: "json",
    contentType: "application/json; charset=utf-8",
    url: "cms001Detail.aspx/saveRecord",
    data: JSON.stringify(aData),
    success: function (Record) {
        alert('success');
    },
    error: function (xhr, ajaxOptions, thrownError) {
        console.log(JSON.stringify(aData));
        alert(xhr.responseText);
        //Ext.Msg.alert(xhr.responseText, thrownError);
    }
});
</code></pre>

<p>Inside code behind:</p>

<pre><code>public static void saveRecord(List&lt;string&gt; aData)
    {
        try
        {
            Dictionary&lt;String, EntityObject&gt; param = new Dictionary&lt;string, EntityObject&gt;();
            users users = new users();
            users.id = "save3";
            foreach (object items in aData)
            {
                Console.WriteLine(items);

            }
            //users.user_login = aData[0].ToString();
            ////users.password = password;
            //DateTime passExpDate;
            //if (DateTime.TryParse(passwordExpiryDate, out passExpDate))
            //{
            //    users.pwd_exp_date = DateTime.Parse(passwordExpiryDate);
            //};
            //users.name = fullName;
            //users.user_type = "";
            //users.email = email;
            //users.acc_status = "A";
            //users.role = "";
            users.last_logon_dt_tm = null;
            users.failed_count = null;
            users.created_by = "ME1";
            users.created_on = DateTime.Now;
            param.Add(users.GetType().Name, users);

            LazyDB ldb = new LazyDB();
            ldb.Save(param);

            TipBoxHelper.ShowNotify("Record Inserted");
        }
        catch (SqlException ex)
        {
            TipBoxHelper.ShowErroNotify("SQL Exception");
        }
        catch (Exception ex)
        {
            TipBoxHelper.ShowErroNotify(ex.ToString());
        }
    }
</code></pre>

<p>in foreach loop, i need to set the id value like this:</p>

<p>var id = aData.id??</p>