what is the equivalent of the push javascrip to c#
javascript:
var data = [];
data.push({ text: "" + rs.fields(0) + "", value: "" + rs.fields(1) + "" });
data.push({ text: "" + rs.fields(0) + "", value: "" + rs.fields(1) + "" });
dont know how to implement in c#
please help


Stephen King4 reputationPosted Jul 31, 2014, 1:00 AM EDT
Manesh GolekarRank #5,709 · 289 reputationPosted Jul 31, 2014, 12:58 AM EDT
In C# , you can use Array for implementing same functionility and use Add method of array object to add values to it .
Thanks,
M