© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
55 replies
Jexs(ping me)

Am I reading this right?

in this code :
for (int i =0; i < 5: i++)
{
Console.WriteLine(i);
}

So am i understanding this right?: First you have to declare statement 1 witch is int i = 0; once this is declared the complier execute the code block that contains Console.WriteLine(i); statement 2 defines the condition for executing the code block. statement 3 is executed everytime after the code block has been executed?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Am I doing this right?
C#CC# / help
2y ago
Using `using`, am I understanding this right?
C#CC# / help
3y ago
❔ I am Kinda lost right now
C#CC# / help
3y ago
✅ why am I getting this error?
C#CC# / help
2mo ago