জয়েন লগইন

সি# while লুপ

🌈সি# while লুপ কি?

📋সি# while লুপ হলো শর্ত সত্য থাকা পর্যন্ত পুনরাবৃত্তি করার পদ্ধতি।

⚒️সি# while লুপ শর্ত সত্য থাকা পর্যন্ত পুনরাবৃত্তি করতে ব্যবহৃত হয়।

সি# while লুপ শর্ত সত্য থাকা পর্যন্ত পুনরাবৃত্তি করার উদাহরণ।

csharp

using System;
namespace MyApplication {
  class Program {
    static void Main(string[] args) {

using System;
class Program {
  static void Main() {
  
    int number = 1;

    while (number <= 10) {
      Console.WriteLine("নাম্বার: " + number);
      number++;
    }
  }
}

    }
  }
}