Saturday, 29 April 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

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...