Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
List<int> list=new List<int>

            object arr[]=arrfile.toarray();
            object arr[]=arratt[].Count;
            int initial=1;

            int k;
            for(int i=1;i<=arrfile;i++)
            {
                int flag=0;
                for(int j=1;j<=arratt.count;j++)
                {
                if(arrfile(initial).arratt[j]!=arr[i+1].arratt[j])
                {
                break;
                flag=0;
            }

                else
                {
                    flag=1;
                }

                }
                if(flag==1)
                {
                    list.Add(arrfile[i+1]);
                }
            }
            if(list.size>0)
            {
                list.Add(arrfile[initial]);
            }
        }
    }



}

Please help me with some code about this...
Thanks
Posted
Comments
OriginalGriff 25-Apr-15 4:48am    
To be honest, I can't.
The code you show doesn't appear to do anything much at all, your indentation is all over the place, which make it hard to read, and it's not obvious from your subject line exactly what you are trying to do, or what help you need.

So take a step back, think about us and what we know of your project - which is nothing except exactly what you tell us - and try to edit your question and provide better info. And fix your damn code so it's indented properly - it's not difficult, VS does it for you! (If your code compiles, then use CTRL+K, CTRL+D to indent the whole document)

Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900