title: How to use the class or write in winform if class parameter is array
body: <p>this is code of the class, i want to pass the columns, tables and condition to reuse the class.</p>
  
  <pre><code> public class Dbclass
  {
  somecodes.......
  
  
  public DataSet SelectQuery(string[] columns,string tables,string condition)
  {
      string col = string.Join(",", columns);
      string tbl = string.Join(",", tables);
      string selectSQL = "SELECT " + col + " FROM " + tbl + cond;
      SqlCommand cmd = new SqlCommand(selectSQL, this.DBcon);
      SqlDataAdapter ada = new SqlDataAdapter();
      DataSet retrnds = new DataSet();
  }
  }
  </code></pre>
  
  <p>what i want to,codes in winform:</p>
  
  <pre><code>Dbclass dbclass = new DbClass();
  dbclass.SelectQuery({"FirstName","LastName"},"Employee","Where EmployeeID=1");
  </code></pre>