using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FLocal.MySQLConnector { class ParamsHolder { public Dictionary data = new Dictionary(); private int index = 1; public string Add(string value) { lock(this) { string name = "param" + index; this.data.Add(name, value); this.index++; return name; } } } }