Abstract
Ushbu maqola C# dasturlash tilida indeksatorlar bilan ishlashni
o'rganish va qo'llash haqida batafsil ma'lumot beradi. Indeksatorlar orqali
kolleksiyalarga massivlar kabi murojaat qilish imkoniyati yaratiladi. Maqola
indeksatorlarni aniqlash va ulardan foydalanish jarayonini misollar yordamida
tushuntiradi. Shuningdek, string turidagi indekslar yordamida massivga murojaat qilish
imkonini beruvchi KeyedArray sinfi yaratilib, uning ishlash mantiqi va amaliyotda
qo‘llanilishi batafsil yoritilgan. Ushbu usullar C# dasturlashida kolleksiyalarni
boshqarishning qulay va samarali usullarini yaratishga yordam beradi.
References
1. Albahari, J., & Albahari, B. (2022). C# 11 in a Nutshell: The Definitive Reference (11th ed.). O'Reilly Media.
2. Troelsen, A., & Japikse, P. (2021). Pro C# 9 with .NET 5: Foundational Principles and Practices in Programming (10th ed.). Apress.
3. Microsoft. (n.d.). Indexers (C# Programming Guide). Microsoft Learn. Retrieved January 23, 2025, from https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/indexers/
4. Balena, F. (2023). Using Indexers in C#: A Practical Guide. CodeProject. Retrieved January 23, 2025, from https://www.codeproject.com/Articles/5293917/Using-Indexers-in-Csharp
5. GeekforGeeks. (2023). Indexers in C#. Retrieved January 23, 2025, from https://www.geeksforgeeks.org/indexers-in-c-sharp/
6. Smith, J. (2024). Advanced Data Structures in C#: Indexers and Collections. International Journal of Computer Science and Applications, 36(2), 145–156.
This work is licensed under a Creative Commons Attribution 4.0 International License.