Friday 20 December 2019

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

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...