IN SQL-, . .. + "" + ... String.Format
SqlCommand cmd2 = new SqlCommand(String.Format("select id,name from plugins where id IN ({0}, {1}, {2}, {3}", a, b, c, d,) con);
, ββ , SQL Server. " " SQL- . - :
select id,name from plugins where id IN (1, 2, 3, 4)