Saturday, April 29, 2017

c# - '

Just having a question that any of the following loop is better or both are same



option 1



for(i=0; i<=3; i++)
{
//Do something
}


option 2



for(i=0; i<4; i++)
{
//Do something
}

No comments:

Post a Comment