জয়েন লগইন

সি# Count

🌈সি# Count কি?

📋সি# Count হলো মোট মান সংখ্যা গণনা করার পদ্ধতি।

⚒️সি# Count মোট মান সংখ্যা গণনা করতে ব্যবহৃত হয়।

সি# Count মোট মান সংখ্যা গণনা করার উদাহরণ।

csharp

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

    var fruits = new List<string> { "আপেল", "আঙ্গুর", "কমলা", "কলা" };
    int result = fruits.Count;

    Console.WriteLine(result);

    }
  }
}