Saturday, April 26, 2025

C# - For Loop

using System;

namespace LearnCS
{
    class Program
    {
        static void Main(string[] args)
        {

            for (int i = 0; i <= 500; i = i + 10) {
                Console.WriteLine(i);
            }

        }
    }        
}

 

No comments:

Post a Comment

Tkinter Introduction - Top Widget, Method, Button

First, let's make shure that our tkinter module is working ok with simple  for loop that will spawn 5 instances of blank Tk window .  ...