how to add ItemSet dynamically in c#
i am to add some data on ItemsetCollection dynamically.
string [][] d=new string[10][];
for(int i=0;i<10;i++)
{ int j=0;
if(a[i]<b[i])
c[j++]=a[i];
if(e[i]<f[i])
c[j++]=e[i];
if(g[i]<h[i])
c[j++]=f[i];
if(i[i]<j[i])
c[j++]=g[i];
d[i] = new string[j];
for(int k=0;k<j;k++)
d[i][k]=c[k];
}
ItemsetCollection db = new ItemsetCollection()
for(int i=0;i<10;i++){
db.Add(new Itemset() {................}
}
here i got to add ItemSet depending on result from for loop dynamically in c#
No comments:
Post a Comment