কম্পিউটার টিউটোরিয়াল

C#-এ SortedList ক্লাসের Count প্রোপার্টি কী?

উদাহরণ

using System; 
using System.Collections; 
namespace Demo { 
    class Program { 
        static void Main(string[] args) { 
            SortedList s = new SortedList(); 
            s.Add("S1", "Electronics"); 
            s.Add("S2", "Clothing"); 
            s.Add("S3", "Appliances"); 
            s.Add("S4", "Books"); 
            s.Add("S5", "Accessories"); 
            s.Add("S6", "Musical Instruments"); 
            Console.WriteLine("Count = " + s.Count); 
        } 
    } 
}

আউটপুট

Count = 6
  1. C#-এ BitArray ক্লাসের Count প্রোপার্টি কী?

  2. C#-এ SortedList ক্লাসের Capacity প্রোপার্টি কী?

  3. C#-এ ArrayList ক্লাসের Count প্রোপার্টি কী?

  4. C#-এ ArrayList ক্লাসের Capacity প্রোপার্টি কী?