عنوان:

‫نکات بالا بردن کارآیی برنامه‌ایی که از value types استفاده می‌کند


نویسنده: وحید نصیری
تاریخ: ۱۳۹۴/۰۵/۰۵ ۱۰:۱۵
آدرس: www.dntips.ir
 best prac­tices for using value types: make them immutable; over­ride Equals (the one that takes an object as argument); over­load Equals to take another instance of the same value type (e.g. Equals(Point2D other)); over­load oper­a­tors == and !=; over­ride GetHashCode 


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