Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

check if that inex exisits array c#

var array=new List<int>(1,2,3);
int count=5;
for(int i=0;i<count;i++){
	if(array.Count>i){  //this is way you can check wheater 
      	//do something   //index count equals to array count
	}
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #inex #exisits #array
ADD COMMENT
Topic
Name
6+5 =