عنوان:

‫چگونه باید یک لیست را در معرض دید سایر کلاس‌ها قرار داد؟


نویسنده: وحید نصیری
تاریخ: ۱۳۹۵/۰۴/۰۲ ۱۰:۱۸
آدرس: www.dntips.ir
  • Do use the interface IReadOnlyList<T> or IReadOnlyCollection<T> to expose a collection.

    • Use IReadOnlyList<T> if the item order is important and deterministic.

    • Use IReadOnlyCollection<T> if the item order is not important.



مشاهده مطلب اصلی