I m working on my project where I have my barNumber in one of my actor class BarCount..I need to sort that number my highest to lowest how do I call an Array for that barNumber which is in int value
You need to show the BarCount class code. If you have a list of these objects that are to be sorted by this int value, show what you are using for it; otherwise, show an attempt at creating that list. At least, explain where this list should be coming from, and where this list is to be created (what class, and type of class, this sorting code will go in).
can we convert a int to array value..suppose i have int value 1 through 16 can i call that to int array value
Again, you are not being very clear as to what you want. Do you want each element in an array that contains 16 elements to contain the value of its index plus one?
Why don't you show what you ended up with, so others who run into the same sort of problem may know what to do? or, so that someone may suggest to you a better way?